{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2013-4397 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2013-4397 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 17 Oct 2013. 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-2013-4397 and fix it if it is affected.\n\nWhat it is: CVE-2013-4397 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 17 Oct 2013. 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-2013-4397 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise 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-2013-4397/ (Markdown: https://insights.sbomify.com/CVE-2013-4397/index.md)","id":"CVE-2013-4397","markdown":"https://insights.sbomify.com/CVE-2013-4397/index.md","name":"CVE-2013-4397","record":{"aliases":["DEBIAN-CVE-2013-4397","DSA-2817-1","GHSA-x7xr-v9wq-28m3","MGASA-2013-0309","RHSA-2013:1418"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"libtar library","requires_auth":"none","summary":"Integer overflows in libtar allow remote attackers to cause denial of service or execute arbitrary code via crafted archives.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libtar","vendor":"feep"},{"product":"enterprise_linux","vendor":"redhat"}],"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-189","name":null}],"description":"Multiple integer overflows in the th_read function in lib/block.c in libtar before 1.2.20 allow remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a long (1) name or (2) link in an archive, which triggers a heap-based buffer overflow.","ecosystems":["Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::computenode","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation"],"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":"Integer overflow in n/a","id":"CVE-2013-4397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"integer_overflow","year":"2013"},"n_packages":12,"n_references":12,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2013-4398"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar","purl":"pkg:rpm/redhat/libtar","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-debuginfo","purl":"pkg:rpm/redhat/libtar-debuginfo","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::client","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-devel","purl":"pkg:rpm/redhat/libtar-devel","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar","purl":"pkg:rpm/redhat/libtar","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-debuginfo","purl":"pkg:rpm/redhat/libtar-debuginfo","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::computenode","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-devel","purl":"pkg:rpm/redhat/libtar-devel","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar","purl":"pkg:rpm/redhat/libtar","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-debuginfo","purl":"pkg:rpm/redhat/libtar-debuginfo","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::server","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-devel","purl":"pkg:rpm/redhat/libtar-devel","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar","purl":"pkg:rpm/redhat/libtar","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-debuginfo","purl":"pkg:rpm/redhat/libtar-debuginfo","source":"RHSA-2013:1418"},{"ecosystem":"Red Hat:enterprise_linux:6::workstation","fixed":["0:1.2.11-17.el6_4.1"],"introduced":["0"],"last_affected":[],"package":"libtar-devel","purl":"pkg:rpm/redhat/libtar-devel","source":"RHSA-2013:1418"}],"prev":{"headline":"Use after free in n/a","id":"CVE-2013-4396"},"products":["n/a"],"published":"2013-10-17","related":[{"cvss_score":5.8,"headline":"Path traversal in n/a","id":"CVE-2013-4420","kev_date_added":null,"published":"2014-02-20"}],"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-06","vendors":["n/a"]},"summary":"Integer overflows in libtar allow remote attackers to cause denial of service or execute arbitrary code via crafted archives.","url":"https://insights.sbomify.com/CVE-2013-4397/"}