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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2013-4116 NameCVE-2013-4116 Descriptionlib/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. SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web…
CVE-2013-4116
| Name | 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 715325 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| npm (PTS) | bullseye | 7.5.2+ds-2 | fixed |
| bookworm | 9.2.0~ds1-1 | fixed | |
| trixie | 9.2.0~ds1-3 | fixed | |
| forky | 11.13.0~ds1-1 | fixed | |
| sid | 11.16.0+ds2-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| npm | source | (unstable) | 1.3.10~dfsg-1 | 715325 |
Notes
Upstream fix https://github.com/isaacs/npm/commit/f4d31693
https://github.com/isaacs/npm/issues/3635
Apply commands
Upstream fix https://github.com/isaacs/npm/commit/f4d31693https://github.com/isaacs/npm/issues/3635
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 1.3.10~dfsg-1 |
| sid | Fixed | 1.3.10~dfsg-1 |
| forky | Fixed | 1.3.10~dfsg-1 |
| bullseye | Fixed | 1.3.10~dfsg-1 |
| bookworm | Fixed | 1.3.10~dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | npm | <1.3.3 | 1.3.3 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| node_packaged_modules_project | node_packaged_modules | {"endExcluding":"1.3.3"} | 1.3.3 |
References
- http://www.openwall.com/lists/oss-security/2013/07/10/17
- http://www.openwall.com/lists/oss-security/2013/07/11/9
- http://www.securityfocus.com/bid/61083
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=715325
- https://bugzilla.redhat.com/show_bug.cgi?id=983917
- https://exchange.xforce.ibmcloud.com/vulnerabilities/87141
- https://github.com/npm/npm/commit/f4d31693
- https://github.com/npm/npm/issues/3635
- https://nvd.nist.gov/vuln/detail/CVE-2013-4116
- https://github.com/npm/npm
- https://www.npmjs.com/advisories/152
- https://security-tracker.debian.org/tracker/CVE-2013-4116
CWEs
CWE-59
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.