CVE-2015-8860 Symlink Arbitrary File Overwrite in tar
Remote attackers can write to arbitrary files via symlink attacks in archives using the Node.js tar library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-8860?
CVE-2015-8860 is a high-severity path traversal vulnerability in Nodejs Node.js, published on 23 Jan 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The tar package before 2.0.0 for Node.js allows remote attackers to write to arbitrary files via a symlink attack in an archive.
Weakness: CWE-59
Which versions are affected by CVE-2015-8860?
2 open source packages ship an affected version, including tar. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
tar npm | All versions | 2.0.0 |
tar npm | All versions | 2.0.0 |
Products include Nodejs Node.js.
How do I fix CVE-2015-8860?
Upgrade tar to 2.0.0 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2015-8860 being exploited?
There is no known exploitation of CVE-2015-8860 in the wild and no public exploit code.
Other vulnerabilities in Nodejs Node.js
Sources
Also known as DEBIAN-CVE-2015-8860, GHSA-gfjr-3jmm-4g9v, UBUNTU-CVE-2015-8860, USN-4777-1.