{"id":"GHSA-v3jv-wrf4-5845","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.\n\n\n\n## Recommendation\n\nUpdate to version 1.3.3 or later.","aliases":["CVE-2013-4116"],"modified":"2026-09-10T03:49:26.221107922Z","published":"2020-09-01T16:03:34Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:12:39Z","nvd_published_at":null,"cwe_ids":["CWE-59"],"severity":"LOW"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4116"},{"type":"WEB","url":"https://github.com/npm/npm/issues/3635"},{"type":"WEB","url":"https://github.com/npm/npm/commit/f4d31693"},{"type":"WEB","url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=983917"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/87141"},{"type":"PACKAGE","url":"https://github.com/npm/npm"},{"type":"WEB","url":"https://www.npmjs.com/advisories/152"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/10/17"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/07/11/9"},{"type":"WEB","url":"http://www.securityfocus.com/bid/61083"}],"affected":[{"package":{"name":"npm","ecosystem":"npm","purl":"pkg:npm/npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.3"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-v3jv-wrf4-5845/GHSA-v3jv-wrf4-5845.json"}}],"schema_version":"1.9.0"}