Skip to content
OpenAdvisories
Unscored Public exploit CVE-2006-6097 EUVD-2006-6080GHSA-f4p7-cvff-gr4c

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 conta…

Published Nov 24, 2006 · Updated Aug 7, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tar 1.16-2 —
Debian 13 tar 1.16-2 —
Debian 12 tar 1.16-2 —
Debian 3.1 tar 1.14-2.3 DSA-1223-1
ReleasePackageFixed inAdvisory
RHEL 4 tar 1.14-12.RHEL4 RHSA-2006:0749
RHEL 3 tar 1.13.25-15.RHEL3 RHSA-2006:0749
RHEL 2 tar 1.13.25-6.AS21.1 RHSA-2006:0749
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed tar 1.34-2.2 openSUSE-SU-2024:11422-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 3

References