GHSA-vp56-6g26-6827

    Dashboard / Vulnerabilities / GHSA-vp56-6g26-6827

    GHSA-vp56-6g26-6827

    Published: 2 Aug 2022Last Modified: 8 Nov 2023
    Aliases:

    Summary: node-fetch Inefficient Regular Expression Complexity

    Details: [node-fetch](https://www.npmjs.com/package/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'`.

    Affected packages

    Package

    Name: node-fetch

    Purl: pkg:npm/node-fetch

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 3.0.0
    Fixed -3.2.10

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-vp56-6g26-6827 | CVE-DB