Symlink attack due to predictable tmp folder names
Affecting npm package, versions <1.3.3
Do your applications use this vulnerable package?
Test your applications
Overview
npm
is a package manager for JavaScript.
Affected versions of the package are vulnerable to Symlink attack due to predictable tmp folder names, which were named /tmp/npm-$PID
. An attacker waiting for a process named npm-
to load could then go to the folder and arbitrarily change the files in the tmp folder.
Remediation
Upgrade npm
to version 1.3.3 or higher.
References
CVSS Score
3.6
medium severity
-
Attack VectorLocal
-
Attack ComplexityHigh
-
Privileges RequiredLow
-
User InteractionNone
-
ScopeUnchanged
-
ConfidentialityNone
-
IntegrityLow
-
AvailabilityLow
- Credit
- Daniel Kahn Gillmor
- CVE
- CVE-2013-4116 CVE-2017-16017
- CWE
- CWE-377
- Snyk ID
- npm:npm:20130708
- Disclosed
- 07 Jul, 2013
- Published
- 13 Feb, 2017