Arbitrary Code Execution Affecting tar package, versions [1.15.1,1.16]


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
2.49% (91st 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-TAR-2319473
  • published14 Dec 2021
  • disclosed24 Nov 2006
  • creditUnknown

Introduced: 24 Nov 2006

CVE-2006-6097  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for tar.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution. GNU tar 1.16 and 1.15.1, and possibly other versions, allows user-assisted attackers to overwrite arbitrary files via a tar file that contains a GNUTYPE_NAMES record with a symbolic link, which is not properly handled by the extract_archive function in extract.c and extract_mangle function in mangle.c, a variant of CVE-2002-1216.

CVSS Base Scores

version 3.1