CVE-2006-6097
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…
Check your servers for CVE-2006-6097
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2006-6097 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 11.6%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 96.7% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2006-6097 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2006-6097RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2006-6097Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2006-6097
trivy image --scanners vuln IMAGE | grep CVE-2006-6097
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
42 of 43 references. The list leaves out addresses that are not web links and those after the first 300; all of them are in the record on cve.org.
Advisories
- 23117 secunia.com · third party advisory
- https://issues.rpath.com/browse/RPL-821 issues.rpath.com
- 1918 securityreason.com · third party advisory
- TA07-072A us-cert.gov · third party advisory
- 23146 secunia.com · third party advisory
- http://kb.vmware.com/KanisaPlatform/Publishing/817/2240267_f.SAL_Public.html kb.vmware.com
- APPLE-SA-2007-03-13 lists.apple.com · vendor advisory
- 23209 secunia.com · third party advisory
- http://docs.info.apple.com/article.html?artnum=305214 docs.info.apple.com
- 2006-0068 trustix.org · vendor advisory
- 23142 secunia.com · third party advisory
- 23314 secunia.com · third party advisory
19 more
- http://support.avaya.com/elmodocs2/security/ASA-2007-015.htm support.avaya.com
- GLSA-200612-10 security.gentoo.org · vendor advisory
- 23198 secunia.com · third party advisory
- 23115 secunia.com · third party advisory
- http://www.vmware.com/support/esx25/doc/esx-254-200702-patch.html vmware.com
- 23911 secunia.com · third party advisory
- USN-385-1 ubuntu.com · vendor advisory
- 23173 secunia.com · third party advisory
- RHSA-2006:0749 rhn.redhat.com · vendor advisory
- FreeBSD-SA-06:26 security.freebsd.org · vendor advisory
- 24636 secunia.com · third party advisory
- DSA-1223 debian.org · vendor advisory
- 23443 secunia.com · third party advisory
- MDKSA-2006:219 mandriva.com · vendor advisory
- OpenPKG-SA-2006.038 openpkg.com · vendor advisory
- 23514 secunia.com · third party advisory
- SSA:2006-335-01 slackware.com · vendor advisory
- 24479 secunia.com · third party advisory
- 23163 secunia.com · third party advisory
Other references
- oval:org.mitre.oval:def:10963 oval.cisecurity.org · vdb entry, signature
- 21235 securityfocus.com · vdb entry
- 20061121 GNU tar directory traversal lists.grok.org.uk · mailing list
- ADV-2006-5102 vupen.com · vdb entry
- ADV-2007-1171 vupen.com · vdb entry
- 20061201 rPSA-2006-0222-1 tar securityfocus.com · mailing list
- 20070330 VMSA-2007-0002 VMware ESX security updates securityfocus.com · mailing list
- 1017423 securitytracker.com · vdb entry
- ADV-2007-0930 vupen.com · vdb entry
- https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216937 bugzilla.redhat.com
- ADV-2006-4717 vupen.com · vdb entry
Source: the record CVE-2006-6097 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse