CVE-2022-37599
HIGH7.5EPSS 4.2%loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)
Published: 10/12/2022Modified: 4/28/2026
Description
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.
Affected packages (2)
- Debian/node-loader-utilsfrom 0, < 2.0.0-1+deb11u1
- npm/loader-utils>= 1.0.0, < 1.4.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (13)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-37599
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-37599
- PATCHhttps://github.com/webpack/loader-utils
- WEBhttps://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38
- WEBhttps://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L83
- WEBhttps://github.com/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1fa
- WEBhttps://github.com/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eeb
- WEBhttps://github.com/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1
- WEBhttps://github.com/webpack/loader-utils/issues/211
- WEBhttps://github.com/webpack/loader-utils/issues/216
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3HUE6ZR5SL73KHL7XUPAOEL6SB7HUDT2
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/6PVVPNSAGSDS63HQ74PJ7MZ3MU5IYNVZ