{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2023-31315 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-31315 is a high-severity code injection vulnerability in 1st Gen AMD EPYC™ Processors, published on 9 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-31315 and fix it if it is affected.\n\nWhat it is: CVE-2023-31315 is a high-severity code injection vulnerability in 1st Gen AMD EPYC™ Processors, published on 9 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-31315 in the wild and no public exploit code.\n\nAffected product: 1st Gen AMD EPYC™ 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-31315/ (Markdown: https://insights.sbomify.com/CVE-2023-31315/index.md)","id":"CVE-2023-31315","markdown":"https://insights.sbomify.com/CVE-2023-31315/index.md","name":"CVE-2023-31315","record":{"aliases":["CLSA-2024-1728477985","CLSA-2024-1728478701","CLSA-2024-1728579854","CLSA-2024-1728581276","CLSA-2024-1728581726","CLSA-2024-1728582568","CLSA-2024-1729015920","CLSA-2024-1729514415","DEBIAN-CVE-2023-31315","GHSA-7r5c-r5ww-995h","OESA-2024-2104","RHBA-2024:5645","RHBA-2024:6169","RHBA-2024:6202","RHSA-2024:5978","RHSA-2024:5980","RHSA-2024:5982","SUSE-SU-2024:2911-1","SUSE-SU-2024:2943-1","SUSE-SU-2024:2944-1","SUSE-SU-2024:2980-1","SUSE-SU-2024:3081-1","SUSE-SU-2024:4255-1","SUSE-SU-2025:20129-1","SUSE-SU-2025:20227-1","UBUNTU-CVE-2023-31315","USN-7077-1","openSUSE-SU-2024:14266-1"],"analysis":{"component_type":"hardware_firmware","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"AMD EPYC/Ryzen Processors","requires_auth":"high_privilege","summary":"A malicious program with ring0 access can modify SMM configuration via improper MSR validation, leading to arbitrary code execution on AMD processors.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"AMD","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Improper validation in a model specific register (MSR) could allow a malicious program with ring0 access to modify SMM configuration while SMI lock is enabled, potentially leading to arbitrary code execution.","ecosystems":["Red Hat:enterprise_linux:9::baseos","Red Hat:rhel_aus:7.7::server","Red Hat:rhel_e4s:9.0::baseos","Red Hat:rhel_els:7","Red Hat:rhel_eus:8.8::baseos","Red Hat:rhel_eus:9.2::baseos","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP5","SUSE:Linux Enterprise Module for Basesystem 15 SP6","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Micro 6.0","SUSE:Linux Micro 6.1","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap 15.5","openSUSE:Leap 15.6","openSUSE:Leap Micro 5.5","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":"Code injection in 1st Gen AMD EPYC™ Processors","id":"CVE-2023-31315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2023"},"n_packages":135,"n_references":1,"next":{"headline":"Other in AMD Instinct™ MI210","id":"CVE-2023-31316"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:39.31.5.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl100-firmware","purl":"pkg:rpm/redhat/iwl100-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:39.31.5.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl1000-firmware","purl":"pkg:rpm/redhat/iwl1000-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl105-firmware","purl":"pkg:rpm/redhat/iwl105-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl135-firmware","purl":"pkg:rpm/redhat/iwl135-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl2000-firmware","purl":"pkg:rpm/redhat/iwl2000-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl2030-firmware","purl":"pkg:rpm/redhat/iwl2030-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:25.30.13.0-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl3160-firmware","purl":"pkg:rpm/redhat/iwl3160-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.83.5.1_1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl5000-firmware","purl":"pkg:rpm/redhat/iwl5000-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:8.24.2.2-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl5150-firmware","purl":"pkg:rpm/redhat/iwl5150-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2a-firmware","purl":"pkg:rpm/redhat/iwl6000g2a-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:18.168.6.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2b-firmware","purl":"pkg:rpm/redhat/iwl6000g2b-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:41.28.5.1-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl6050-firmware","purl":"pkg:rpm/redhat/iwl6050-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["1:25.30.13.0-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"iwl7260-firmware","purl":"pkg:rpm/redhat/iwl7260-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:20240716-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"libertas-sd8787-firmware","purl":"pkg:rpm/redhat/libertas-sd8787-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:20240716-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"linux-firmware","purl":"pkg:rpm/redhat/linux-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:20240716-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"linux-firmware-whence","purl":"pkg:rpm/redhat/linux-firmware-whence","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:enterprise_linux:9::baseos","fixed":["0:20240716-143.2.el9_4"],"introduced":["0"],"last_affected":[],"package":"netronome-firmware","purl":"pkg:rpm/redhat/netronome-firmware","source":"RHBA-2024:6169"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:39.31.5.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl100-firmware","purl":"pkg:rpm/redhat/iwl100-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["1:39.31.5.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl1000-firmware","purl":"pkg:rpm/redhat/iwl1000-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:18.168.6.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl105-firmware","purl":"pkg:rpm/redhat/iwl105-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:18.168.6.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl135-firmware","purl":"pkg:rpm/redhat/iwl135-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:18.168.6.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl2000-firmware","purl":"pkg:rpm/redhat/iwl2000-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:18.168.6.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl2030-firmware","purl":"pkg:rpm/redhat/iwl2030-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:22.0.7.0-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl3160-firmware","purl":"pkg:rpm/redhat/iwl3160-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:15.32.2.9-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl3945-firmware","purl":"pkg:rpm/redhat/iwl3945-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:228.61.2.24-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl4965-firmware","purl":"pkg:rpm/redhat/iwl4965-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:8.83.5.1_1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl5000-firmware","purl":"pkg:rpm/redhat/iwl5000-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:8.24.2.2-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl5150-firmware","purl":"pkg:rpm/redhat/iwl5150-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:9.221.4.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl6000-firmware","purl":"pkg:rpm/redhat/iwl6000-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:17.168.5.3-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2a-firmware","purl":"pkg:rpm/redhat/iwl6000g2a-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:17.168.5.2-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl6000g2b-firmware","purl":"pkg:rpm/redhat/iwl6000g2b-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:41.28.5.1-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl6050-firmware","purl":"pkg:rpm/redhat/iwl6050-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:22.0.7.0-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl7260-firmware","purl":"pkg:rpm/redhat/iwl7260-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:22.0.7.0-76.el7_7"],"introduced":["0"],"last_affected":[],"package":"iwl7265-firmware","purl":"pkg:rpm/redhat/iwl7265-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_aus:7.7::server","fixed":["0:20190429-76.gitddde598.el7_7"],"introduced":["0"],"last_affected":[],"package":"linux-firmware","purl":"pkg:rpm/redhat/linux-firmware","source":"RHSA-2024:5982"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:39.31.5.1-131.el9_0"],"introduced":["0"],"last_affected":[],"package":"iwl100-firmware","purl":"pkg:rpm/redhat/iwl100-firmware","source":"RHSA-2024:5980"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["1:39.31.5.1-131.el9_0"],"introduced":["0"],"last_affected":[],"package":"iwl1000-firmware","purl":"pkg:rpm/redhat/iwl1000-firmware","source":"RHSA-2024:5980"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:18.168.6.1-131.el9_0"],"introduced":["0"],"last_affected":[],"package":"iwl105-firmware","purl":"pkg:rpm/redhat/iwl105-firmware","source":"RHSA-2024:5980"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:18.168.6.1-131.el9_0"],"introduced":["0"],"last_affected":[],"package":"iwl135-firmware","purl":"pkg:rpm/redhat/iwl135-firmware","source":"RHSA-2024:5980"},{"ecosystem":"Red Hat:rhel_e4s:9.0::baseos","fixed":["0:18.168.6.1-131.el9_0"],"introduced":["0"],"last_affected":[],"package":"iwl2000-firmware","purl":"pkg:rpm/redhat/iwl2000-firmware","source":"RHSA-2024:5980"}],"prev":{"headline":"Code injection in AMD Instinct™ MI210","id":"CVE-2023-31313"},"products":["1st Gen AMD EPYC™ Processors","2nd Gen AMD EPYC™ Processors","3rd Gen AMD EPYC™ Processors","4th Gen AMD EPYC™ Processors","AMD Athlon™ 3000 Series Mobile Processors with Radeon™ Graphics","AMD EPYC™ Embedded 3000","AMD EPYC™ Embedded 7002","AMD EPYC™ Embedded 7003","AMD EPYC™ Embedded 9003","AMD Ryzen™ 3000 Series Desktop Processors","AMD Ryzen™ 3000 Series Mobile Processor with Radeon™ Graphics","AMD Ryzen™ 4000 Series Desktop Processors with Radeon™ Graphics","AMD Ryzen™ 4000 Series Mobile Processors with Radeon™ Graphics","AMD Ryzen™ 5000 Series Desktop Processors","AMD Ryzen™ 5000 Series Desktop processor with Radeon™ Graphics","AMD Ryzen™ 5000 Series Mobile Processors with Radeon™ Graphics","AMD Ryzen™ 6000 Series Processors with Radeon™ Graphics","AMD Ryzen™ 7000 Series Desktop Processors","AMD Ryzen™ 7020 Series Processors with Radeon™ Graphics","AMD Ryzen™ 7030 Series Mobile Processors with Radeon™ Graphics","AMD Ryzen™ 7035 Series Processors with Radeon™ Graphics","AMD Ryzen™ 7040 Series Mobile Processors with Radeon™ Graphics","AMD Ryzen™ 7045 Series Mobile Processors","AMD Ryzen™ 8000 Series Processors with Radeon™ Graphics","AMD Ryzen™ Embedded 5000","AMD Ryzen™ Embedded 7000","AMD Ryzen™ Embedded R1000","AMD Ryzen™ Embedded R2000","AMD Ryzen™ Embedded V1000","AMD Ryzen™ Embedded V2000","AMD Ryzen™ Embedded V3000","AMD Ryzen™ Threadripper™ 3000 Series Processors","AMD Ryzen™ Threadripper™ PRO 3000WX Series Processors","AMD Ryzen™ Threadripper™ PRO Processors"],"published":"2024-08-09","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":"RHBA"},{"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":"total"},"state":"PUBLISHED","updated":"2024-09-12","vendors":["AMD"]},"summary":"A malicious program with ring0 access can modify SMM configuration via improper MSR validation, leading to arbitrary code execution on AMD processors.","url":"https://insights.sbomify.com/CVE-2023-31315/"}