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'
.
{ "github_reviewed_at": "2022-08-04T17:37:24Z", "cwe_ids": [ "CWE-1333", "CWE-400" ], "nvd_published_at": "2022-08-01T15:15:00Z", "severity": "MODERATE", "github_reviewed": true }