CVE-2022-37603
JSON

7.5high

loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
2.70% (higher than 86% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-3rfm-jhwj-7488

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 url variable in interpolateName.js.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
loader-utils (npm)from 1.0.0 before 1.4.2, from 2.0.0 before 2.0.4, from 3.0.0 before 3.2.1GitHub Advisory Database
webpack.js loader-utilsbefore 1.4.2, from 2.0.0 before 2.0.4, from 3.0.0 before 3.2.1NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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 url variable in interpolateName.js.

GitHub Advisory Database

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 url 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.

NVD (es)

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 url en interpolateName.js

References

https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38exploit, third-party-advisory, web
https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L107exploit, third-party-advisory, web
https://github.com/webpack/loader-utils/issues/213issue-tracking, third-party-advisory, web
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAC5KQ2SEWAMQ6UZAUBZ5KXKEOESH375/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERN6YE3DS7NBW7UH44SCJBMNC2NWQ7SM/vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNV2GNZXOTEDAJRFH3ZYWRUBGIVL7BSU/vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2022-37603advisory
https://github.com/webpack/loader-utils/issues/216web
https://github.com/webpack/loader-utils/commit/17cbf8fa8989c1cb45bdd2997aa524729475f1faweb
https://github.com/webpack/loader-utils/commit/ac09944dfacd7c4497ef692894b09e63e09a5eebweb
https://github.com/webpack/loader-utils/commit/d2d752d59629daee38f34b24307221349c490eb1web
https://github.com/webpack/loader-utilspackage

Sources

SourceRecordLicence
CVE ListCVE-2022-37603 changed 2025-05-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-3rfm-jhwj-7488 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-37603 changed 2026-06-17Public domain