CVE-2022-37599Webpack.js Loader-utils
High 7.5 No auth needed
Follow: this CVE · Webpack.js · Webpack.js Loader-utils We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Oct 11, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Loader-utils.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | loader-utils |
≥ 1.0.0 < 1.4.2 |
1.4.2 |
npm install loader-utils@1.4.2 |
| npm | loader-utils |
≥ 2.0.0 < 2.0.4 |
2.0.4 |
npm install loader-utils@2.0.4 |
| npm | loader-utils |
≥ 3.0.0 < 3.2.1 |
3.2.1 |
npm install loader-utils@3.2.1 |
Per OSV / GitHub Advisories (GHSA-hhq3-ff78-jv3g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| webpack.js | loader-utils | ≥ 1.0.0 < 1.4.2 |
| webpack.js | loader-utils | ≥ 2.0.0 < 2.0.4 |
| webpack.js | loader-utils | ≥ 3.0.0 < 3.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org