{"answers":{"affected":"It affects 58 products.","exploited":"There is no known exploitation of CVE-2021-26331 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-26331 yet. Limit exposure of the affected software until one is available.","what":"CVE-2021-26331 is a high-severity code injection vulnerability in Amd Epyc 7232p Firmware, published on 16 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-26331 and fix it if it is affected.\n\nWhat it is: CVE-2021-26331 is a high-severity code injection vulnerability in Amd Epyc 7232p Firmware, published on 16 Nov 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-26331 in the wild and no public exploit code.\n\nAffected product: Amd Epyc 7232p Firmware. 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-26331/ (Markdown: https://insights.sbomify.com/CVE-2021-26331/index.md)","id":"CVE-2021-26331","markdown":"https://insights.sbomify.com/CVE-2021-26331/index.md","name":"CVE-2021-26331","record":{"aliases":["GHSA-945g-xqmp-7xg3"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AMD EPYC firmware","requires_auth":"low_privilege","summary":"A malicious user can manipulate AMD SMU mailbox entries to achieve arbitrary code execution on EPYC processors.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMD","cpe":[{"product":"epyc_7001_firmware","vendor":"amd"},{"product":"epyc_7002_firmware","vendor":"amd"},{"product":"epyc_7003_firmware","vendor":"amd"},{"product":"epyc_7232p_firmware","vendor":"amd"},{"product":"epyc_7251_firmware","vendor":"amd"},{"product":"epyc_7252_firmware","vendor":"amd"},{"product":"epyc_7262_firmware","vendor":"amd"},{"product":"epyc_7272_firmware","vendor":"amd"},{"product":"epyc_7281_firmware","vendor":"amd"},{"product":"epyc_7282_firmware","vendor":"amd"},{"product":"epyc_72f3_firmware","vendor":"amd"},{"product":"epyc_7301_firmware","vendor":"amd"},{"product":"epyc_7302_firmware","vendor":"amd"},{"product":"epyc_7302p_firmware","vendor":"amd"},{"product":"epyc_7313_firmware","vendor":"amd"},{"product":"epyc_7313p_firmware","vendor":"amd"},{"product":"epyc_7343_firmware","vendor":"amd"},{"product":"epyc_7351_firmware","vendor":"amd"},{"product":"epyc_7351p_firmware","vendor":"amd"},{"product":"epyc_7352_firmware","vendor":"amd"},{"product":"epyc_73f3_firmware","vendor":"amd"},{"product":"epyc_7401_firmware","vendor":"amd"},{"product":"epyc_7401p_firmware","vendor":"amd"},{"product":"epyc_7402_firmware","vendor":"amd"},{"product":"epyc_7402p_firmware","vendor":"amd"},{"product":"epyc_7413_firmware","vendor":"amd"},{"product":"epyc_7443_firmware","vendor":"amd"},{"product":"epyc_7443p_firmware","vendor":"amd"},{"product":"epyc_7451_firmware","vendor":"amd"},{"product":"epyc_7452_firmware","vendor":"amd"},{"product":"epyc_7453_firmware","vendor":"amd"},{"product":"epyc_74f3_firmware","vendor":"amd"},{"product":"epyc_7501_firmware","vendor":"amd"},{"product":"epyc_7502_firmware","vendor":"amd"},{"product":"epyc_7502p_firmware","vendor":"amd"},{"product":"epyc_7513_firmware","vendor":"amd"},{"product":"epyc_7532_firmware","vendor":"amd"},{"product":"epyc_7542_firmware","vendor":"amd"},{"product":"epyc_7543_firmware","vendor":"amd"},{"product":"epyc_7543p_firmware","vendor":"amd"},{"product":"epyc_7551_firmware","vendor":"amd"},{"product":"epyc_7551p_firmware","vendor":"amd"},{"product":"epyc_7552_firmware","vendor":"amd"},{"product":"epyc_75f3_firmware","vendor":"amd"},{"product":"epyc_7601_firmware","vendor":"amd"},{"product":"epyc_7642_firmware","vendor":"amd"},{"product":"epyc_7643_firmware","vendor":"amd"},{"product":"epyc_7662_firmware","vendor":"amd"},{"product":"epyc_7663_firmware","vendor":"amd"},{"product":"epyc_7702_firmware","vendor":"amd"},{"product":"epyc_7702p_firmware","vendor":"amd"},{"product":"epyc_7713_firmware","vendor":"amd"},{"product":"epyc_7713p_firmware","vendor":"amd"},{"product":"epyc_7742_firmware","vendor":"amd"},{"product":"epyc_7763_firmware","vendor":"amd"},{"product":"epyc_7f32_firmware","vendor":"amd"},{"product":"epyc_7f52_firmware","vendor":"amd"},{"product":"epyc_7f72_firmware","vendor":"amd"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"AMD System Management Unit (SMU) contains a potential issue where a malicious user may be able to manipulate mailbox entries leading to arbitrary code execution.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Code injection in 1st Gen AMD EPYC™","id":"CVE-2021-26331","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"amd:epyc_7232p_firmware","products":["amd:epyc_7232p_firmware","amd:epyc_7252_firmware","amd:epyc_7262_firmware","amd:epyc_7272_firmware","amd:epyc_7282_firmware","amd:epyc_72f3_firmware","amd:epyc_7302_firmware","amd:epyc_7302p_firmware","amd:epyc_7313_firmware","amd:epyc_7313p_firmware","amd:epyc_7343_firmware","amd:epyc_7352_firmware","amd:epyc_73f3_firmware","amd:epyc_7402_firmware","amd:epyc_7402p_firmware","amd:epyc_7413_firmware","amd:epyc_7443_firmware","amd:epyc_7443p_firmware","amd:epyc_7452_firmware","amd:epyc_7453_firmware","amd:epyc_74f3_firmware","amd:epyc_7502_firmware","amd:epyc_7502p_firmware","amd:epyc_7513_firmware","amd:epyc_7532_firmware","amd:epyc_7542_firmware","amd:epyc_7543_firmware","amd:epyc_7543p_firmware","amd:epyc_7552_firmware","amd:epyc_75f3_firmware","amd:epyc_7642_firmware","amd:epyc_7643_firmware","amd:epyc_7662_firmware","amd:epyc_7663_firmware","amd:epyc_7702_firmware","amd:epyc_7702p_firmware","amd:epyc_7713_firmware","amd:epyc_7713p_firmware","amd:epyc_7742_firmware","amd:epyc_7763_firmware","amd:epyc_7f32_firmware","amd:epyc_7f52_firmware","amd:epyc_7f72_firmware"],"type":"code_injection","year":"2021"},"n_packages":0,"n_references":1,"next":{"headline":"Other in 3rd Gen AMD EPYC™","id":"CVE-2021-26332"},"packages":[],"prev":{"headline":"Memory corruption in 1st Gen AMD EPYC™","id":"CVE-2021-26330"},"products":["1st Gen AMD EPYC™","2nd Gen AMD EPYC™","3rd Gen AMD EPYC™"],"published":"2021-11-16","related":[{"cvss_score":8.4,"headline":"A malicious hypervisor in conjunction with an unprivileged attacker process inside an SEV/SEV-ES guest VM may fail to flush the Translation","id":"CVE-2021-26340","kev_date_added":null,"published":"2021-12-10"},{"cvss_score":7.8,"headline":"Memory corruption in 1st Gen EPYC","id":"CVE-2021-26398","kev_date_added":null,"published":"2023-01-10"},{"cvss_score":7.8,"headline":"Code injection in Athlon™ Series","id":"CVE-2021-26335","kev_date_added":null,"published":"2021-11-16"},{"cvss_score":7.5,"headline":"Race condition in AMD EPYC™ 7001 Processors","id":"CVE-2023-20578","kev_date_added":null,"published":"2024-08-13"},{"cvss_score":7.5,"headline":"Denial of service in 1st/2nd/3rd Gen AMD EPYC™ Processors","id":"CVE-2020-12988","kev_date_added":null,"published":"2021-06-11"},{"cvss_score":7.4,"headline":"Race condition in 1st Gen AMD EPYC™ Processors","id":"CVE-2021-26356","kev_date_added":null,"published":"2023-05-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-09-16","vendors":["AMD"]},"summary":"A malicious user can manipulate AMD SMU mailbox entries to achieve arbitrary code execution on EPYC processors.","url":"https://insights.sbomify.com/CVE-2021-26331/"}