CVE-2013-4116
EPSS 0.10%Local Privilege Escalation in npm
Published: 9/1/2020Modified: 2/4/2026
Description
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 (2)
- Debian/npmfrom 0, < 1.3.10~dfsg-1
- npm/npmfrom 0, < 1.3.3
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2013-4116
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2013-4116
- PATCHhttps://github.com/npm/npm
- WEBhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=983917
- WEBhttps://exchange.xforce.ibmcloud.com/vulnerabilities/87141
- WEBhttps://github.com/npm/npm/commit/f4d31693
- WEBhttps://github.com/npm/npm/issues/3635
- WEBhttps://www.npmjs.com/advisories/152
- WEBhttp://www.openwall.com/lists/oss-security/2013/07/10/17
- WEBhttp://www.openwall.com/lists/oss-security/2013/07/11/9
- WEBhttp://www.securityfocus.com/bid/61083