loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)
High severity
GitHub Reviewed
Published
Oct 12, 2022
to the GitHub Advisory Database
•
Updated Apr 22, 2024
Package
Affected versions
>= 1.0.0, < 1.4.2
>= 2.0.0, < 2.0.4
>= 3.0.0, < 3.2.1
Patched versions
1.4.2
2.0.4
3.2.1
Description
Published by the National Vulnerability Database
Oct 11, 2022
Published to the GitHub Advisory Database
Oct 12, 2022
Reviewed
Nov 15, 2022
Last updated
Apr 22, 2024
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