Advisory

GHSA-v3jv-wrf4-5845

Also known as: CVE-2013-4116

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2020-09-01 16:03 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

npm

npm · All systems

Affected

  • introduced 0, fixed 1.3.3 (semver)

Fixed versions

1.3.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences