Skip to content

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

ProductAffected versionsFixed 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