Vulnerability · Published Oct 12, 2022 · Assigned by mitre
CVE-2022-37601
Critical 9.8
In plain English
A critical-severity security flaw in the node-loader-utils package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.5%top 10.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official description
Prototype pollution vulnerability in function parseQuery in parseQuery.js in webpack loader-utils via the name variable in parseQuery.js. This affects all versions prior to 1.4.1 and 2.0.3.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-loader-utils | 2.0.3-1 | DEBIAN-CVE-2022-37601 |
| Debian:13 | node-loader-utils | 2.0.3-1 | DEBIAN-CVE-2022-37601 |
| Debian:14 | node-loader-utils | 2.0.3-1 | DEBIAN-CVE-2022-37601 |
| Ubuntu:22.04:LTS | node-loader-utils | no fix listed | UBUNTU-CVE-2022-37601 |
| Ubuntu:24.04:LTS | node-loader-utils | no fix listed | UBUNTU-CVE-2022-37601 |
| Ubuntu:25.10 | node-loader-utils | no fix listed | UBUNTU-CVE-2022-37601 |
| Ubuntu:26.04:LTS | node-loader-utils | no fix listed | UBUNTU-CVE-2022-37601 |
| Ubuntu:26.10 | node-loader-utils | no fix listed | UBUNTU-CVE-2022-37601 |
| npm | loader-utils | 1.4.1 | GHSA-76p3-8jx3-jpfq |
| npm | loader-utils | 2.0.3 | GHSA-76p3-8jx3-jpfq |
Affected products (as reported)
References
- https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js#L11
- https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/parseQuery.js#L47
- https://github.com/webpack/loader-utils/issues/212
- https://github.com/webpack/loader-utils/issues/212#issuecomment-1319192884
- https://dl.acm.org/doi/abs/10.1145/3488932.3497769
- https://dl.acm.org/doi/pdf/10.1145/3488932.3497769
- http://users.encs.concordia.ca/~mmannan/publications/JS-vulnerability-aisaccs2022.pdf
- https://github.com/xmldom/xmldom/issues/436#issuecomment-1319412826
- [debian-lts-announce] 20221231 [SECURITY] [DLA 3258-1] node-loader-utils security update mailing-list