{"id":"CVE-2024-31142","state":"PUBLISHED","title":"x86: Incorrect logic for BTC/SRSO mitigations","description":"Because of a logical error in XSA-407 (Branch Type Confusion), the\nmitigation is not applied properly when it is intended to be used.\nXSA-434 (Speculative Return Stack Overflow) uses the same\ninfrastructure, so is equally impacted.\n\nFor more details, see:\n  https://xenbits.xen.org/xsa/advisory-407.html\n  https://xenbits.xen.org/xsa/advisory-434.html\n","publishedAt":"2024-05-16T13:39:42.774Z","updatedAt":"2025-11-04T18:30:46.936Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"XEN","products":["Xen Xen"],"affected":[{"vendor":"Xen","product":"Xen","defaultStatus":"unknown","versions":[{"version":"consult Xen advisory XSA-455","status":"unknown"}]}],"references":["https://xenbits.xenproject.org/xsa/advisory-455.html","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH/","http://xenbits.xen.org/xsa/advisory-455.html"],"weaknesses":["CWE-693"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/31xxx/CVE-2024-31142.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-31142","state":"PUBLISHED","datePublished":"2024-05-16T13:39:42.774Z","dateUpdated":"2025-11-04T18:30:46.936Z","assignerShortName":"XEN","assignerOrgId":"23aa2041-22e1-471f-9209-9b7396fa234f","dateReserved":"2024-03-28T18:14:12.892Z"},"containers":{"cna":{"title":"x86: Incorrect logic for BTC/SRSO mitigations","descriptions":[{"lang":"en","value":"Because of a logical error in XSA-407 (Branch Type Confusion), the\nmitigation is not applied properly when it is intended to be used.\nXSA-434 (Speculative Return Stack Overflow) uses the same\ninfrastructure, so is equally impacted.\n\nFor more details, see:\n  https://xenbits.xen.org/xsa/advisory-407.html\n  https://xenbits.xen.org/xsa/advisory-434.html\n"}],"affected":[{"vendor":"Xen","product":"Xen","defaultStatus":"unknown","versions":[{"version":"consult Xen advisory XSA-455","status":"unknown"}]}],"references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-455.html"}],"providerMetadata":{"shortName":"XEN","orgId":"23aa2041-22e1-471f-9209-9b7396fa234f","dateUpdated":"2024-05-16T13:39:42.774Z"},"datePublic":"2024-04-09T16:29:00.000Z","impacts":[{"descriptions":[{"lang":"en","value":"XSAs 407 and 434 are unmitigated, even when the patches are in place.\n"}]}],"configurations":[{"lang":"en","value":"All versions of Xen containing the XSA-407 fixes are vulnerable.\n\nSee XSAs 407 and 434 for details on which hardware is susceptible to\nBTC/SRSO.\n"}],"workarounds":[{"lang":"en","value":"There are no mitigations.\n"}],"credits":[{"lang":"en","type":"finder","value":"This issue was discovered by Andrew Cooper of XenServer.\n"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-05-20T13:51:28.453648Z","id":"CVE-2024-31142","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-693","type":"CWE","lang":"en","description":"CWE-693 Protection Mechanism Failure"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-27T21:00:51.019Z"}},{"title":"CVE Program Container","references":[{"url":"https://xenbits.xenproject.org/xsa/advisory-455.html","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D5OK6MH75S7YWD34EWW7QIZTS627RIE3/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RYAZ7P6YFJ2E3FHKAGIKHWS46KYMMTZH/"},{"url":"http://xenbits.xen.org/xsa/advisory-455.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T18:30:46.936Z"}}]}}}