node-fetch@3.2.9

A light-weight module that brings Fetch API to node.js

  • latest version

    3.3.2

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the node-fetch package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Regular Expression Denial of Service (ReDoS)

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

    How to fix Regular Expression Denial of Service (ReDoS)?

    Upgrade node-fetch to version 3.2.10 or higher.

    >=3.1.0 <3.2.10