{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2023-31356 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-31356 is a medium-severity memory corruption vulnerability in AMD EPYC™ 7003 Processors, published on 13 Aug 2024. 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-2023-31356 and fix it if it is affected.\n\nWhat it is: CVE-2023-31356 is a medium-severity memory corruption vulnerability in AMD EPYC™ 7003 Processors, published on 13 Aug 2024. 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-2023-31356 in the wild and no public exploit code.\n\nAffected product: AMD EPYC™ 7003 Processors. 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-2023-31356/ (Markdown: https://insights.sbomify.com/CVE-2023-31356/index.md)","id":"CVE-2023-31356","markdown":"https://insights.sbomify.com/CVE-2023-31356/index.md","name":"CVE-2023-31356","record":{"aliases":["DEBIAN-CVE-2023-31356","GHSA-3w7r-v4fr-r43w","RHSA-2024:7482","UBUNTU-CVE-2023-31356"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AMD EPYC firmware","requires_auth":"high_privilege","summary":"A privileged attacker can corrupt guest private memory due to incomplete cleanup in AMD SEV firmware, compromising data integrity.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMD","cpe":[],"cvss":{"score":4.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"description":"Incomplete system memory cleanup in SEV firmware could\nallow a privileged attacker to corrupt guest private memory, potentially\nresulting in a loss of data integrity.","ecosystems":["Red Hat:rhel_eus:8.8::baseos"],"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":"Memory corruption in AMD EPYC™ 7003 Processors","id":"CVE-2023-31356","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2023"},"n_packages":21,"n_references":2,"next":{"headline":"Privilege escalation in AIM-T Manageability API","id":"CVE-2023-31358"},"packages":[{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:39.31.5.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl100-firmware","purl":"pkg:rpm/redhat/iwl100-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["1:39.31.5.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl1000-firmware","purl":"pkg:rpm/redhat/iwl1000-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl105-firmware","purl":"pkg:rpm/redhat/iwl105-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl135-firmware","purl":"pkg:rpm/redhat/iwl135-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl2000-firmware","purl":"pkg:rpm/redhat/iwl2000-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl2030-firmware","purl":"pkg:rpm/redhat/iwl2030-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["1:25.30.13.0-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl3160-firmware","purl":"pkg:rpm/redhat/iwl3160-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:15.32.2.9-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl3945-firmware","purl":"pkg:rpm/redhat/iwl3945-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:228.61.2.24-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl4965-firmware","purl":"pkg:rpm/redhat/iwl4965-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:8.83.5.1_1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl5000-firmware","purl":"pkg:rpm/redhat/iwl5000-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:8.24.2.2-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl5150-firmware","purl":"pkg:rpm/redhat/iwl5150-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:9.221.4.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl6000-firmware","purl":"pkg:rpm/redhat/iwl6000-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2a-firmware","purl":"pkg:rpm/redhat/iwl6000g2a-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:18.168.6.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2b-firmware","purl":"pkg:rpm/redhat/iwl6000g2b-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:41.28.5.1-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl6050-firmware","purl":"pkg:rpm/redhat/iwl6050-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["1:25.30.13.0-118.3.el8_8.1"],"introduced":["0"],"last_affected":[],"package":"iwl7260-firmware","purl":"pkg:rpm/redhat/iwl7260-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:20240827-118.3.git3cff7109.el8_8"],"introduced":["0"],"last_affected":[],"package":"libertas-sd8686-firmware","purl":"pkg:rpm/redhat/libertas-sd8686-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:20240827-118.3.git3cff7109.el8_8"],"introduced":["0"],"last_affected":[],"package":"libertas-sd8787-firmware","purl":"pkg:rpm/redhat/libertas-sd8787-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["2:20240827-118.3.git3cff7109.el8_8"],"introduced":["0"],"last_affected":[],"package":"libertas-usb8388-firmware","purl":"pkg:rpm/redhat/libertas-usb8388-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:20240827-118.3.git3cff7109.el8_8"],"introduced":["0"],"last_affected":[],"package":"libertas-usb8388-olpc-firmware","purl":"pkg:rpm/redhat/libertas-usb8388-olpc-firmware","source":"RHSA-2024:7482"},{"ecosystem":"Red Hat:rhel_eus:8.8::baseos","fixed":["0:20240827-118.3.git3cff7109.el8_8"],"introduced":["0"],"last_affected":[],"package":"linux-firmware","purl":"pkg:rpm/redhat/linux-firmware","source":"RHSA-2024:7482"}],"prev":{"headline":"Memory corruption in 3rd Gen AMD EPYC™ Processors","id":"CVE-2023-31355"},"products":["AMD EPYC™ 7003 Processors","AMD EPYC™ 9004 Processors","AMD EPYC™ Embedded 7003","AMD EPYC™ Embedded 9004"],"published":"2024-08-13","related":[],"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":"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":"2025-02-11","vendors":["AMD"]},"summary":"A privileged attacker can corrupt guest private memory due to incomplete cleanup in AMD SEV firmware, compromising data integrity.","url":"https://insights.sbomify.com/CVE-2023-31356/"}