GHSA-hhq3-ff78-jv3g

Suggest an improvement
Source
https://github.com/advisories/GHSA-hhq3-ff78-jv3g
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-hhq3-ff78-jv3g/GHSA-hhq3-ff78-jv3g.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hhq3-ff78-jv3g
Aliases
Published
2022-10-12T12:00:27Z
Modified
2024-04-22T19:46:45Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
loader-utils is vulnerable to Regular Expression Denial of Service (ReDoS)
Details

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

Affected packages

npm / loader-utils

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.0.0
Fixed
1.4.2

npm / loader-utils

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.0.4

npm / loader-utils

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.2.1