~ / search / GHSA-hhq3-ff78-jv3g

GHSA-hhq3-ff78-jv3g

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

Source: GitHub Advisory Database (reviewed) High CVE-2022-37599

Packages

EcosystemPackageAffectedFixed in
npm loader-utils >= 1.0.0, < 1.4.2 1.4.2
npm loader-utils >= 2.0.0, < 2.0.4 2.0.4
npm loader-utils >= 3.0.0, < 3.2.1 3.2.1

Details

As written in the advisory (Markdown source, shown as plain text).

A regular expression denial of service (ReDoS) flaw was found in Function interpolateName in interpolateName.js in webpack loader-utils via the resourcePath 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.

References

External links from the advisory. They lead to third-party sites.