CVE-2018-20834 Arbitrary File Overwrite in tar
HighCVSS 7.5
EPSS 3.1%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content. A patch has been applied to node-tar v2.2.2).
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm tar(npm) | < 2.2.2 | 2.2.2 |
| npm tar(npm) | >= 3.0.0, < 4.4.2 | 4.4.2 |
| debian/node-tar(Debian:12) | < 4.4.4+ds1-2 | 4.4.4+ds1-2 |
| debian/node-tar(Debian:13) | < 4.4.4+ds1-2 | 4.4.4+ds1-2 |
| debian/node-tar(Debian:14) | < 4.4.4+ds1-2 | 4.4.4+ds1-2 |
| isaacs tar | < 2.2.2 | 2.2.2 |
| isaacs tar | >= 3.0.0, < 4.4.2 | 4.4.2 |
References
- nvd.nist.gov third-party-advisory
- github.com patch third-party-advisory
- hackerone.com exploit third-party-advisory
- github.com patch third-party-advisory
- github.com patch
- RHSA-2019:1821 vendor-advisory
- github.com
- github.com
- Debian Security Tracker CVE-2018-20834 vendor-advisory