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 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.
What to do
Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | tar | Fixed | 1.16-2 | DEBIAN-CVE-2006-6097 |
| Debian 13 | tar | Fixed | 1.16-2 | DEBIAN-CVE-2006-6097 |
| Debian 12 | tar | Fixed | 1.16-2 | DEBIAN-CVE-2006-6097 |
| Red Hat Enterprise Linux 4 | tar | Fixed | 0:1.14-12.RHEL4 | RHSA-2006:0749 |
| Red Hat Enterprise Linux 3 | tar | Fixed | 0:1.13.25-15.RHEL3 | RHSA-2006:0749 |
| Red Hat Enterprise Linux 2 | tar | Fixed | 0:1.13.25-6.AS21.1 | RHSA-2006:0749 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html (vendor-advisory)
- http://www.trustix.org/errata/2006/0068/ (vendor-advisory)
- http://security.gentoo.org/glsa/glsa-200612-10.xml (vendor-advisory)
- ftp://patches.sgi.com/support/free/security/advisories/20061202-01-P.asc (vendor-advisory)
- http://www.ubuntu.com/usn/usn-385-1 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2006-0749.html (vendor-advisory)
References
- http://secunia.com/advisories/23117
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10963
- https://issues.rpath.com/browse/RPL-821
- http://securityreason.com/securityalert/1918
- http://www.us-cert.gov/cas/techalerts/TA07-072A.html
- http://www.securityfocus.com/bid/21235
- http://secunia.com/advisories/23146
- http://lists.grok.org.uk/pipermail/full-disclosure/2006-November/050812.html
- http://kb.vmware.com/KanisaPlatform/Publishing/817/2240267_f.SAL_Public.html
- http://lists.apple.com/archives/security-announce/2007/Mar/msg00002.html
- http://secunia.com/advisories/23209
- http://docs.info.apple.com/article.html?artnum=305214
- http://www.vupen.com/english/advisories/2006/5102
- http://www.trustix.org/errata/2006/0068/
- http://secunia.com/advisories/23142
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.