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.test.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.

Database specific
{
    "nvd_published_at": "2022-10-11T19:15:00Z",
    "cwe_ids": [
        "CWE-1333",
        "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-11-15T21:03:46Z"
}
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