{"id":"CVE-2022-37599","aliases":["CVE-2022-37599","GHSA-hhq3-ff78-jv3g"],"related":[],"kind":"vulnerability","state":"published","title":"loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)","summary":"A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A Regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils 2.0.0 via the resourcePath variable in interpolateName.js.","source":"cvelist"},{"lang":"en","text":"A regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils via the resourcePath variable in interpolateName.js. A badly or maliciously formed string could be used to send crafted requests that cause a system to crash or take a disproportional amount of time to process. This issue has been patched in versions 1.4.2, 2.0.4 and 3.2.1.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha encontrado un fallo de Denegación de Servicio de Expresión Regular (ReDoS) en la función interpolateName en el archivo interpolateName.js en webpack loader-utils 2.0.0 por medio de la variable resourcePath en el archivo interpolateName.js","source":"nvd"}],"published":"2022-10-11T00:00:00.000Z","modified":"2026-06-17T04:55:08.313Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-1333"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"1.4.2"}],"ecosystem":"npm","package":"loader-utils","purl":"pkg:npm/loader-utils","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.0.0","status":"affected","fixed":"2.0.4"}],"ecosystem":"npm","package":"loader-utils","purl":"pkg:npm/loader-utils","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"3.0.0","status":"affected","fixed":"3.2.1"}],"ecosystem":"npm","package":"loader-utils","purl":"pkg:npm/loader-utils","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"1.4.2"},{"status":"affected","introduced":"2.0.0","fixed":"2.0.4"},{"status":"affected","introduced":"3.0.0","fixed":"3.2.1"}],"vendor":"webpack.js","product":"loader-utils","cpe":"cpe:2.3:a:webpack.js:loader-utils:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/webpack/loader-utils/issues/211","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/webpack/loader-utils/issues/216","tags":["issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37599","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1fa","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eeb","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/webpack/loader-utils","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-37599","url":"https://www.cve.org/CVERecord?id=CVE-2022-37599","licence":"CVE Terms of Use","modified":"2025-11-04T18:14:20.740Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hhq3-ff78-jv3g","url":"https://github.com/advisories/GHSA-hhq3-ff78-jv3g","licence":"CC-BY-4.0","modified":"2025-11-04T22:07:19.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-37599","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-37599","licence":"Public domain","modified":"2026-06-17T04:55:08.313Z"}],"updatedAt":"2026-11-25T22:58:15.539Z","epss":{"score":0.02761,"percentile":0.86665,"date":"2026-12-01T12:00:22.000Z"}}