NetSight
high7.5

CVE-2022-37603

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

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmloader-utils>= 1.0.0, < 1.4.21.4.2

Affected products

VendorProductAffected versions
Webpack.JsLoader-Utils
before 1.4.2
from 2.0.0 before 2.0.4
from 3.0.0 before 3.2.1

Weakness classification

References