loader-utils@1.2.2 vulnerabilities

utils for webpack loaders

Direct Vulnerabilities

Known vulnerabilities in the loader-utils package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the resourcePath variable in interpolateName.js.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade loader-utils to version 1.4.2, 2.0.4, 3.2.1 or higher.

<1.4.2 >=2.0.0 <2.0.4 >=3.0.0 <3.2.1
  • M
Regular Expression Denial of Service (ReDoS)

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in interpolateName function via the URL variable.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade loader-utils to version 1.4.2, 2.0.4, 3.2.1 or higher.

<1.4.2 >=2.0.0 <2.0.4 >=3.0.0 <3.2.1
  • H
Prototype Pollution

Affected versions of this package are vulnerable to Prototype Pollution in parseQuery function via the name variable in parseQuery.js. This pollutes the prototype of the object returned by parseQuery and not the global Object prototype (which is the commonly understood definition of Prototype Pollution). Therefore, the actual impact will depend on how applications utilize the returned object and how they filter unwanted keys.

How to fix Prototype Pollution?

Upgrade loader-utils to version 1.4.1, 2.0.3 or higher.

<1.4.1 >=2.0.0 <2.0.3