GHSA-v3jv-wrf4-5845

    Dashboard / Vulnerabilities / GHSA-v3jv-wrf4-5845

    GHSA-v3jv-wrf4-5845

    Published: 1 Sept 2020Last Modified: 10 Sept 2026
    Aliases:

    Summary: Local Privilege Escalation in npm

    Details: Affected versions of `npm` use predictable temporary file names during archive unpacking. If an attacker can create a symbolic link at the location of one of these temporary file names, the attacker can arbitrarily write to any file that the user which owns the `npm` process has permission to write to, potentially resulting in local privilege escalation. ## Recommendation Update to version 1.3.3 or later.

    Affected packages

    Package

    Name: npm

    Purl: pkg:npm/npm

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.3.3

    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-v3jv-wrf4-5845 | CVE-DB