{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-20294 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-20294 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 29 Apr 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-20294 and fix it if it is affected.\n\nWhat it is: CVE-2021-20294 is a high-severity memory corruption vulnerability in Gnu Binutils, published on 29 Apr 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-20294 in the wild and no public exploit code.\n\nAffected product: Gnu Binutils. 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-20294/ (Markdown: https://insights.sbomify.com/CVE-2021-20294/index.md)","id":"CVE-2021-20294","markdown":"https://insights.sbomify.com/CVE-2021-20294/index.md","name":"CVE-2021-20294","record":{"aliases":["DEBIAN-CVE-2021-20294","GHSA-rrj7-qm3x-w26v","SUSE-SU-2021:3637-1","SUSE-SU-2021:3643-1","openSUSE-SU-2021:3643-1","openSUSE-SU-2024:11634-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"binutils readelf","requires_auth":"none","summary":"An attacker can trigger a stack buffer overflow in binutils readelf by convincing a victim to process a crafted file, potentially leading to arbitrary code execution.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"binutils","vendor":"gnu"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"A flaw was found in binutils readelf 2.35 program. An attacker who is able to convince a victim using readelf to read a crafted file could trigger a stack buffer overflow, out-of-bounds write of arbitrary data supplied by the attacker. The highest impact of this flaw is to confidentiality, integrity, and availability.","ecosystems":["SUSE:Enterprise Storage 6","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Development Tools 15 SP2","SUSE:Linux Enterprise Module for Development Tools 15 SP3","SUSE:Linux Enterprise Module for Package Hub 15 SP2","SUSE:Linux Enterprise Module for Package Hub 15 SP3","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2023-01-21","github_poc":1,"max_poc_stars":11,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-01-21T16:15:21Z","kind":"github_poc","ref":"https://github.com/tin-z/CVE-2021-20294-POC","stars":11,"title":"Simple CVE-2021-20294 poc"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in binutils","id":"CVE-2021-20294","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"gnu:binutils","products":["gnu:binutils"],"type":"memory_corruption","year":"2021"},"n_packages":51,"n_references":6,"next":{"headline":"It was discovered that the update for the virt:rhel module in the RHSA-2020:4676 (https://access.redhat.com/errata/RHSA-2020:4676) erratum r","id":"CVE-2021-20295"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP2","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP2","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP2","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP3","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP2","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP2","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Package Hub 15 SP3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:3643-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"cross-ppc-binutils","purl":"pkg:rpm/suse/cross-ppc-binutils\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"cross-spu-binutils","purl":"pkg:rpm/suse/cross-spu-binutils\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["2.37-9.44.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/suse/binutils\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2021:3637-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"binutils","purl":"pkg:rpm/opensuse/binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-aarch64-binutils","purl":"pkg:rpm/opensuse/cross-aarch64-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-arm-binutils","purl":"pkg:rpm/opensuse/cross-arm-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-avr-binutils","purl":"pkg:rpm/opensuse/cross-avr-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-epiphany-binutils","purl":"pkg:rpm/opensuse/cross-epiphany-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-hppa-binutils","purl":"pkg:rpm/opensuse/cross-hppa-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-hppa64-binutils","purl":"pkg:rpm/opensuse/cross-hppa64-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-i386-binutils","purl":"pkg:rpm/opensuse/cross-i386-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-ia64-binutils","purl":"pkg:rpm/opensuse/cross-ia64-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-m68k-binutils","purl":"pkg:rpm/opensuse/cross-m68k-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-mips-binutils","purl":"pkg:rpm/opensuse/cross-mips-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["2.37-7.26.1"],"introduced":["0"],"last_affected":[],"package":"cross-ppc-binutils","purl":"pkg:rpm/opensuse/cross-ppc-binutils\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:3643-1"}],"prev":{"headline":"Cross-Site Scripting","id":"CVE-2021-20293"},"products":["binutils"],"published":"2021-04-29","related":[{"cvss_score":9.8,"headline":"Null dereference in n/a","id":"CVE-2017-7614","kev_date_added":null,"published":"2017-04-09"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2014-9939","kev_date_added":null,"published":"2017-03-21"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-7226","kev_date_added":null,"published":"2017-03-22"},{"cvss_score":9.1,"headline":"Information disclosure in n/a","id":"CVE-2017-6969","kev_date_added":null,"published":"2017-03-17"},{"cvss_score":8.8,"headline":"Denial of service in n/a","id":"CVE-2020-19726","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":7.8,"headline":"Binutils: binutils: arbitrary code execution via malformed xcoff object file processing","id":"CVE-2026-6846","kev_date_added":null,"published":"2026-04-22"},{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2022-44840","kev_date_added":null,"published":"2023-08-22"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can trigger a stack buffer overflow in binutils readelf by convincing a victim to process a crafted file, potentially leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2021-20294/"}