CVE-2022-37603
CVE-2022-37603
In short
A flaw in webpack's loader-utils allows attackers to crash the build process by sending specially crafted input strings that cause the regex engine to hang. This can disrupt development workflows and continuous integration pipelines.
Technical detail
A ReDoS vulnerability exists in the interpolateName function of loader-utils 2.0.0, where the url parameter is processed by a vulnerable regular expression pattern. An attacker can supply a malformed URL string to trigger exponential backtracking in the regex engine, causing denial of service during webpack builds without requiring authentication or special privileges.
Summary generated and translated by AI from the official 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
n/a · n/aWant to know if your infrastructure is exposed to this?
Talk to TrueHacking →References
https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L107https://github.com/webpack/loader-utils/blob/d9f4e23cf411d8556f8bac2d3bf05a6e0103b568/lib/interpolateName.js#L38https://github.com/webpack/loader-utils/issues/213https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ERN6YE3DS7NBW7UH44SCJBMNC2NWQ7SM/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KAC5KQ2SEWAMQ6UZAUBZ5KXKEOESH375/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VNV2GNZXOTEDAJRFH3ZYWRUBGIVL7BSU/