Skip to content
OpenAdvisories
Low CVE-2013-4116 EUVD-2020-1290GHSA-v3jv-wrf4-5845

Local Privilege Escalation in npm

Published Apr 22, 2014 · Updated Aug 6, 2024 · Assigned by redhat

Description

lib/npm.js in Node Packaged Modules (npm) before 1.3.3 allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 npm 1.3.10~dfsg-1 —
Debian 13 npm 1.3.10~dfsg-1 —
Debian 12 npm 1.3.10~dfsg-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm npm < 1.3.3 1.3.3 GHSA-v3jv-wrf4-5845

References