What’s Vulnerable › Vulnerabilities

CVE-2018-20834: Arbitrary File Overwrite in tar

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

How to fix

Upgrade to a fixed version: isaacs node-tar 2.2.2, 4.4.2; Npm Tar 4.4.2, 2.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2018-20834 or the next vulnerability affects your stack