Directory Traversal Affecting tar package, versions [,1.14)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.04% (6th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TAR-2319472
  • published14 Dec 2021
  • disclosed12 Jul 2001
  • creditUnknown

Introduced: 12 Jul 2001

CVE-2001-1267  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade tar to version 1.14 or higher.

Overview

Affected versions of this package are vulnerable to Directory Traversal. Directory traversal vulnerability in GNU tar 1.13.19 and earlier allows local users to overwrite arbitrary files during archive extraction via a tar file whose filenames contain a .. (dot dot).

CVSS Base Scores

version 3.1