Vulnerability · Published May 16, 2024 · Assigned by XEN
CVE-2024-31142x86: Incorrect logic for BTC/SRSO mitigations
High 7.5
In plain English
A high-severity security flaw in Xen from Xen. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 17.4% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Because of a logical error in XSA-407 (Branch Type Confusion), the mitigation is not applied properly when it is intended to be used. XSA-434 (Speculative Return Stack Overflow) uses the same infrastructure, so is equally impacted. For more details, see: https://xenbits.xen.org/xsa/advisory-407.html https://xenbits.xen.org/xsa/advisory-434.html
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | xen | 4.18.2-r0 | ALPINE-CVE-2024-31142 |
| Alpine:v3.21 | xen | 4.18.2-r0 | ALPINE-CVE-2024-31142 |
| Alpine:v3.22 | xen | 4.18.2-r0 | ALPINE-CVE-2024-31142 |
| Alpine:v3.23 | xen | 4.18.2-r0 | ALPINE-CVE-2024-31142 |
| Alpine:v3.24 | xen | 4.18.2-r0 | ALPINE-CVE-2024-31142 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DEBIAN-CVE-2024-31142 |
| Debian:12 | xen | 4.17.5+23-ga4e5191dc0-1 | DSA-5836-1 |
| Debian:13 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31142 |
| Debian:14 | xen | 4.19.1-1 | DEBIAN-CVE-2024-31142 |
| Ubuntu:22.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31142 |
| Ubuntu:24.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31142 |
| Ubuntu:25.10 | xen | no fix listed | UBUNTU-CVE-2024-31142 |
| Ubuntu:26.04:LTS | xen | no fix listed | UBUNTU-CVE-2024-31142 |
| Ubuntu:26.10 | xen | no fix listed | UBUNTU-CVE-2024-31142 |
Affected products (as reported)
Weakness: CWE-693 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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