GHSA-vp56-6g26-6827

Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/08/GHSA-vp56-6g26-6827/GHSA-vp56-6g26-6827.json
Aliases
  • CVE-2022-2596
Published
2022-08-02T00:00:25Z
Modified
2022-08-04T17:37:24Z
Details

node-fetch is a light-weight module that brings window.fetch to node.js.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) in the isOriginPotentiallyTrustworthy() function in referrer.js, when processing a URL string with alternating letters and periods, such as 'http://' + 'a.a.'.repeat(i) + 'a'.

References

Affected packages

npm / node-fetch

node-fetch

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.2.10

Affected versions