{"api_version":"1","generated_at":"2026-07-23T13:18:28+00:00","cve":"CVE-2013-4116","urls":{"html":"https://cve.report/CVE-2013-4116","api":"https://cve.report/api/cve/CVE-2013-4116.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2013-4116","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-4116"},"summary":{"title":"CVE-2013-4116","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.","state":"PUBLISHED","assigner":"redhat","published_at":"2014-04-22 14:23:34","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-59","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"3.3","severity":"","vector":"AV:L/AC:M/Au:N/C:N/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:P","baseScore":3.3,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2013/07/10/17","name":"http://www.openwall.com/lists/oss-security/2013/07/10/17","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - npm uses predictable temporary filenames when unpacking tarballs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2013/07/11/9","name":"http://www.openwall.com/lists/oss-security/2013/07/11/9","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List","Third Party Advisory"],"title":"oss-security - Re: npm uses predictable temporary filenames when\n unpacking tarballs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325","name":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"#715325 - npm: CVE-2013-4116: predictable temporary filenames when unpacking tarballs - Debian Bug report logs","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/87141","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/87141","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/npm/npm/issues/3635","name":"https://github.com/npm/npm/issues/3635","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"predictable tmpfile names may lead to potential security issue · Issue #3635 · npm/npm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/npm/npm/commit/f4d31693","name":"https://github.com/npm/npm/commit/f4d31693","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Third Party Advisory"],"title":"Put 6 bytes of random in tmp folder name · npm/npm@f4d3169 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983917","name":"https://bugzilla.redhat.com/show_bug.cgi?id=983917","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Issue Tracking","Third Party Advisory"],"title":"Bug 983917 – CVE-2013-4116 npm: Insecure temporary directory generation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/61083","name":"http://www.securityfocus.com/bid/61083","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Node Packaged Modules Symlink Attack Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-4116","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4116","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2013","cve_id":"4116","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"node_packaged_modules_project","cpe5":"node_packaged_modules","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2013-4116","qid":"980688","title":"Nodejs (npm) Security Update for npm (GHSA-v3jv-wrf4-5845)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T16:30:49.923Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"61083","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/61083"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983917"},{"name":"[oss-security] 20130711 Re: npm uses predictable temporary filenames when unpacking tarballs","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2013/07/11/9"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/npm/npm/issues/3635"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/npm/npm/commit/f4d31693"},{"name":"[oss-security] 20130710 npm uses predictable temporary filenames when unpacking tarballs","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2013/07/10/17"},{"name":"node-packaged-cve20134116-symlink(87141)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/87141"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2013-07-08T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","shortName":"redhat"},"references":[{"name":"61083","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/61083"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=983917"},{"name":"[oss-security] 20130711 Re: npm uses predictable temporary filenames when unpacking tarballs","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2013/07/11/9"},{"tags":["x_refsource_CONFIRM"],"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/npm/npm/issues/3635"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/npm/npm/commit/f4d31693"},{"name":"[oss-security] 20130710 npm uses predictable temporary filenames when unpacking tarballs","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2013/07/10/17"},{"name":"node-packaged-cve20134116-symlink(87141)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/87141"}]}},"cveMetadata":{"assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","assignerShortName":"redhat","cveId":"CVE-2013-4116","datePublished":"2014-04-22T14:00:00.000Z","dateReserved":"2013-06-12T00:00:00.000Z","dateUpdated":"2024-08-06T16:30:49.923Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2014-04-22 14:23:34","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-59","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:N/I:P/A:P","baseScore":3.3,"accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.4,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:node_packaged_modules_project:node_packaged_modules:*:*:*:*:*:node.js:*:*","versionEndExcluding":"1.3.3","matchCriteriaId":"EFFDFCCD-77AA-4137-BC1C-B190FC5F3E4E"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2013","CveId":"4116","Ordinal":"1","Title":"CVE-2013-4116","CVE":"CVE-2013-4116","Year":"2013"},"notes":[{"CveYear":"2013","CveId":"4116","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2013-4116"},{"CveYear":"2013","CveId":"4116","Ordinal":"2","NoteData":"2014-04-22","Type":"Other","Title":"Published"},{"CveYear":"2013","CveId":"4116","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}