{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-20193 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-20193 is a low-severity denial of service vulnerability in tar, published on 26 Mar 2021. 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-2021-20193 and fix it if it is affected.\n\nWhat it is: CVE-2021-20193 is a low-severity denial of service vulnerability in tar, published on 26 Mar 2021. 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: There is no known exploitation of CVE-2021-20193 in the wild and no public exploit code.\n\nAffected product: tar. 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-2021-20193/ (Markdown: https://insights.sbomify.com/CVE-2021-20193/index.md)","id":"CVE-2021-20193","markdown":"https://insights.sbomify.com/CVE-2021-20193/index.md","name":"CVE-2021-20193","record":{"aliases":["ALPINE-CVE-2021-20193","DEBIAN-CVE-2021-20193","GHSA-mwq4-jmcc-2cx4","JLSEC-2026-183","MGASA-2021-0233","OESA-2021-1173","SUSE-SU-2021:0974-1","SUSE-SU-2021:0975-1","UBUNTU-CVE-2021-20193","USN-5329-1","openSUSE-SU-2021:0494-1","openSUSE-SU-2024:11620-1"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNU tar utility","requires_auth":"none","summary":"An attacker can cause a denial of service by submitting a crafted file to tar, leading to uncontrolled memory consumption.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"tar","vendor":"gnu"}],"cvss":{"score":3.3,"severity":"low","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"description":"A flaw was found in the src/list.c of tar 1.33 and earlier. This flaw allows an attacker who can submit a crafted input file to tar to cause uncontrolled consumption of memory. The highest threat from this vulnerability is to system availability.","ecosystems":["SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","openSUSE:Leap 15.2","openSUSE:Tumbleweed"],"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":"Out-of-bounds Read and Missing Release of Memory after Effective Lifetime in tar","id":"CVE-2021-20193","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2021"},"n_packages":6,"n_references":4,"next":{"headline":"Memory corruption in kernel","id":"CVE-2021-20194"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["1.30-3.6.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:0974-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["1.30-3.6.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:0974-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.27.1-15.9.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:0975-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.27.1-15.9.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/suse/tar\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:0975-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.30-lp152.4.3.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/opensuse/tar\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0494-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.34-5.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:rpm/opensuse/tar\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11620-1"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2021-20192"},"products":["tar"],"published":"2021-03-26","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":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"An attacker can cause a denial of service by submitting a crafted file to tar, leading to uncontrolled memory consumption.","url":"https://insights.sbomify.com/CVE-2021-20193/"}