{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2007-4829 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-4829 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 2 Nov 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2007-4829 and fix it if it is affected.\n\nWhat it is: CVE-2007-4829 is a medium-severity path traversal vulnerability in Canonical Ubuntu Linux, published on 2 Nov 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2007-4829 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu Linux. 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-2007-4829/ (Markdown: https://insights.sbomify.com/CVE-2007-4829/index.md)","id":"CVE-2007-4829","markdown":"https://insights.sbomify.com/CVE-2007-4829/index.md","name":"CVE-2007-4829","record":{"aliases":["DEBIAN-CVE-2007-4829","GHSA-rwhc-g7xj-h37q","RHSA-2010:0505"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl Archive::Tar module","requires_auth":"none","summary":"A directory traversal flaw in the Archive::Tar Perl module allows attackers to overwrite arbitrary files via malicious TAR archives, requiring user interaction to extract.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"\\","vendor":"archive\\"},{"product":"ubuntu_linux","vendor":"canonical"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"Directory traversal vulnerability in the Archive::Tar Perl module 1.36 and earlier allows user-assisted remote attackers to overwrite arbitrary files via a TAR archive that contains a file whose name is an absolute path or has \"..\" sequences.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::server"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2007-4829","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux"],"type":"path_traversal","year":"2007"},"n_packages":6,"n_references":15,"next":{"headline":"Cross-site scripting in n/a","id":"CVE-2007-4830"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:1.39.1-1.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:1.39.1-1.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:1.39.1-1.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:1.39.1-1.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:1.39.1-1.el5_5.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"},{"ecosystem":"Red Hat:enterprise_linux:5::server","fixed":["1:1.39.1-1.el5_5.1"],"introduced":["0"],"last_affected":[],"package":"perl-Archive-Tar","purl":"pkg:rpm/redhat/perl-Archive-Tar","source":"RHSA-2010:0505"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2007-4828"},"products":["n/a"],"published":"2007-11-02","related":[{"cvss_score":9.1,"headline":"Path traversal in Archive::Tar","id":"CVE-2026-42496","kev_date_added":null,"published":"2026-05-26"},{"cvss_score":7.5,"headline":"Path traversal in Archive::Tar","id":"CVE-2026-42497","kev_date_added":null,"published":"2026-05-26"},{"cvss_score":7.5,"headline":"Denial of service in Archive::Tar","id":"CVE-2026-9538","kev_date_added":null,"published":"2026-05-26"}],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"A directory traversal flaw in the Archive::Tar Perl module allows attackers to overwrite arbitrary files via malicious TAR archives, requiring user interaction to extract.","url":"https://insights.sbomify.com/CVE-2007-4829/"}