{"id":"UBUNTU-CVE-2023-31315","details":"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.","modified":"2026-02-04T03:57:21.608217Z","published":"2024-08-12T13:38:00Z","related":["USN-7077-1"],"upstream":["CVE-2023-31315"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-31315"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-31315"},{"type":"REPORT","url":"https://www.amd.com/en/resources/product-security/bulletin/amd-sb-7014.html"},{"type":"REPORT","url":"https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit?id=091bd5adf19c7ab01214c64689952acb4833b21d"},{"type":"REPORT","url":"https://ioactive.com/event/def-con-talk-amd-sinkclose-universal-ring-2-privilege-escalation/"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7077-1"}],"affected":[{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.20120910-3","2.20131007.1+really20130710.1","3.20180524.1~ubuntu0.14.04.1","3.20180524.1~ubuntu0.14.04.2+really20130710.1","3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"amd64-microcode","binary_version":"3.20180524.1~ubuntu0.14.04.2+really20130710.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}},{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20191021.1+really3.20180524.1~ubuntu0.16.04.2+esm3?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20191021.1+really3.20180524.1~ubuntu0.16.04.2+esm3"}]}],"versions":["2.20141028.1","2.20160316.1","3.20180524.1~ubuntu0.16.04.1","3.20180524.1~ubuntu0.16.04.2","3.20191021.1ubuntu0.16.04.1","3.20191021.1+really3.20180524.1~ubuntu0.16.04.2","3.20191021.1+really3.20180524.1~ubuntu0.16.04.2+esm1","3.20191021.1+really3.20180524.1~ubuntu0.16.04.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.20191021.1+really3.20180524.1~ubuntu0.16.04.2+esm3","binary_name":"amd64-microcode"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}},{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20191021.1+really3.20181128.1~ubuntu0.18.04.1+esm3?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20191021.1+really3.20181128.1~ubuntu0.18.04.1+esm3"}]}],"versions":["3.20160316.3","3.20171205.1","3.20180524.1~ubuntu0.18.04.1","3.20180524.1~ubuntu0.18.04.2","3.20191021.1ubuntu0.18.04.2","3.20191021.1+really3.20181128.1~ubuntu0.18.04.1","3.20191021.1+really3.20181128.1~ubuntu0.18.04.1+esm1","3.20191021.1+really3.20181128.1~ubuntu0.18.04.1+esm2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"amd64-microcode","binary_version":"3.20191021.1+really3.20181128.1~ubuntu0.18.04.1+esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}},{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20191218.1ubuntu1.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20191218.1ubuntu1.3"}]}],"versions":["3.20181128.1ubuntu2","3.20191021.1ubuntu1","3.20191218.1ubuntu1","3.20191218.1ubuntu1.1","3.20191218.1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"amd64-microcode","binary_version":"3.20191218.1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}},{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20191218.1ubuntu2.3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20191218.1ubuntu2.3"}]}],"versions":["3.20191218.1ubuntu2","3.20191218.1ubuntu2.1","3.20191218.1ubuntu2.2"],"ecosystem_specific":{"binaries":[{"binary_name":"amd64-microcode","binary_version":"3.20191218.1ubuntu2.3"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}},{"package":{"name":"amd64-microcode","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/amd64-microcode@3.20231019.1ubuntu2.1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.20231019.1ubuntu2.1"}]}],"versions":["3.20230808.1.1ubuntu1","3.20231019.1ubuntu1","3.20231019.1ubuntu2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"amd64-microcode","binary_version":"3.20231019.1ubuntu2.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-31315.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:L"},{"type":"Ubuntu","score":"medium"}]}