Arbitrary File Overwrite Affecting tar Open this link in a new tab package, versions <2.2.2 >=3.0.0 <4.4.2


0.0
high
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-JS-TAR-174125

  • published

    7 Apr 2019

  • disclosed

    4 Apr 2019

  • credit

    Max Justicz

How to fix?

Upgrade tar to version 2.2.2, 4.4.2 or higher.

Overview

tar is a full-featured Tar for Node.js.

Affected versions of this package are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hard-link to a file that already exists in the system, and a file that matches the hard-link may overwrite system's files with the contents of the extracted file.