Symlink File Overwrite Affecting tar package, versions >0.0.1 <2.0.0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.18% (55th percentile)
Expand this section
NVD
7.5 high
Expand this section
Red Hat
4.3 medium

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 npm:tar:20151103
  • published 6 Nov 2015
  • disclosed 3 Nov 2015
  • credit Tim Cuthbertson

How to fix?

Upgrade tar to version 2.0.0 or higher.

Overview

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

Affected versions of this package are vulnerable to Symlink File Overwrite. It does not properly normalize symbolic links pointing to targets outside the extraction root. As a result, packages may hold symbolic links to parent and sibling directories and overwrite those files when the package is extracted.