{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6097 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2006-6097 is a medium-severity path traversal vulnerability in n/a, published on 24 Nov 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2006-6097 and fix it if it is affected.\n\nWhat it is: CVE-2006-6097 is a medium-severity path traversal vulnerability in n/a, published on 24 Nov 2006. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2006-6097 exists.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2006-6097/ (Markdown: https://insights.sbomify.com/CVE-2006-6097/index.md)","id":"CVE-2006-6097","markdown":"https://insights.sbomify.com/CVE-2006-6097/index.md","name":"CVE-2006-6097","record":{"aliases":["DEBIAN-CVE-2006-6097","DSA-1223-1","GHSA-f4p7-cvff-gr4c","RHSA-2006:0749"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU tar utility","requires_auth":"none","summary":"Attackers can overwrite arbitrary files by tricking users into extracting a malicious tar archive containing symbolic links.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"tar","vendor":"gnu"}],"cvss":{"score":4,"severity":"medium","source":"nvd","vector":"AV:N/AC:H/Au:N/C:N/I:P/A:P","version":"2.0"},"cwes":[],"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.","ecosystems":["Red Hat:enterprise_linux:2.1::as","Red Hat:enterprise_linux:2.1::aw","Red Hat:enterprise_linux:2.1::es","Red Hat:enterprise_linux:2.1::ws","Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"exploits":{"exploitdb":1,"first_seen":"2006-11-21","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2006-11-21","kind":"exploitdb","ref":"29160","stars":null,"title":"GNU Tar 1.1x - 'GNUTYPE_NAMES' Directory Traversal"}],"tier":"weaponised"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2006-6097","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2006"},"n_packages":20,"n_references":43,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2006-6098"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:1.13.25-6.AS21.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:1.13.25-6.AS21.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:1.13.25-6.AS21.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:1.13.25-6.AS21.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:1.13.25-15.RHEL3"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/redhat/tar","source":"RHSA-2006:0749"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.14-12.RHEL4"],"introduced":["0"],"last_affected":[],"package":"tar-debuginfo","purl":"pkg:rpm/redhat/tar-debuginfo","source":"RHSA-2006:0749"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2006-6096"},"products":["n/a"],"published":"2006-11-24","related":[{"cvss_score":10,"headline":"Privilege escalation in n/a","id":"CVE-2005-2541","kev_date_added":null,"published":"2005-08-10"},{"cvss_score":7.5,"headline":"Null dereference in n/a","id":"CVE-2019-9923","kev_date_added":null,"published":"2019-03-22"},{"cvss_score":7.5,"headline":"Path traversal in n/a","id":"CVE-2016-6321","kev_date_added":null,"published":"2016-12-09"},{"cvss_score":6.8,"headline":"Path traversal in n/a","id":"CVE-2007-4131","kev_date_added":null,"published":"2007-08-25"},{"cvss_score":6.2,"headline":"Denial of service in n/a","id":"CVE-2023-39804","kev_date_added":null,"published":"2024-03-27"},{"cvss_score":5.1,"headline":"Memory corruption in n/a","id":"CVE-2006-0300","kev_date_added":null,"published":"2006-02-24"},{"cvss_score":5,"headline":"Tar: tar: hidden file injection via crafted archives","id":"CVE-2026-5704","kev_date_added":null,"published":"2026-04-06"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can overwrite arbitrary files by tricking users into extracting a malicious tar archive containing symbolic links.","url":"https://insights.sbomify.com/CVE-2006-6097/"}