Directory Traversal Affecting tar package, versions [1.13,1.16]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
10.26% (96th 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-2319483
  • published14 Dec 2021
  • disclosed25 Aug 2007
  • creditUnknown

Introduced: 25 Aug 2007

CVE-2007-4131  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

There is no fixed version for tar.

Overview

Affected versions of this package are vulnerable to Directory Traversal. Directory traversal vulnerability in the contains_dot_dot function in src/names.c in GNU tar allows user-assisted remote attackers to overwrite arbitrary files via certain //.. (slash slash dot dot) sequences in directory symlinks in a TAR archive.

CVSS Base Scores

version 3.1