GHSA-wxgw-qj99-44c2

    Dashboard / Vulnerabilities / GHSA-wxgw-qj99-44c2

    GHSA-wxgw-qj99-44c2

    Published: 8 Jan 2022Last Modified: 7 Jan 2022

    Summary: Prototype Pollution in node-forge util.setPath API

    Details: ### Impact `forge.util.setPath` had a potential prototype pollution issue if called with untrusted keys. This API was not used by forge itself. ### Patches The `forge.util.setPath` API and related functions were removed in 0.10.0. ### Workarounds Don't call `forge.util.setPath` directly or indirectly with untrusted keys. ### References - https://security.snyk.io/vuln/SNYK-JS-NODEFORGE-598677 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7720 ### For more information If you have any questions or comments about this advisory: * Open an issue in [forge](https://github.com/digitalbazaar/forge). * Email us at [email protected].

    Affected packages

    Package

    Name: node-forge

    Purl: pkg:npm/node-forge

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.10.0

    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-wxgw-qj99-44c2 | CVE-DB