loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS) via url variable
High severity
GitHub Reviewed
Published
Oct 14, 2022
to the GitHub Advisory Database
•
Updated Nov 29, 2023
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 14, 2022
Published to the GitHub Advisory Database
Oct 14, 2022
Reviewed
Nov 15, 2022
Last updated
Nov 29, 2023
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.
References