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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (57th percentile)

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 IDnpm:tar:20151103
  • published6 Nov 2015
  • disclosed3 Nov 2015
  • creditTim Cuthbertson

Introduced: 3 Nov 2015

CVE-2015-8860  (opens in a new tab)
CWE-208  (opens in a new tab)

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.

CVSS Scores

version 3.1