GHSA-v3jv-wrf4-5845

Suggest an improvement
Source
https://github.com/advisories/GHSA-v3jv-wrf4-5845
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-v3jv-wrf4-5845/GHSA-v3jv-wrf4-5845.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v3jv-wrf4-5845
Aliases
Related
Published
2020-09-01T16:03:34Z
Modified
2023-11-08T03:57:19.995829Z
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.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-59"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:12:39Z"
}
References

Affected packages

npm / npm

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.3