CVE-2024-31142 x86: Incorrect logic for BTC/SRSO mitigations

High 7.5 Published Updated

A logic error in Xen hypervisor prevents proper application of Branch Type Confusion and Speculative Return Stack Overflow mitigations, allowing bypass of security protections.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-31142?

CVE-2024-31142 is a high-severity vulnerability in Fedoraproject Fedora, published on 16 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.

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

Weakness: CWE-693

Which versions are affected by CVE-2024-31142?

It affects 2 products.

Products include Fedoraproject Fedora, Xen Xen.

How do I fix CVE-2024-31142?

Apply the vendor's patch.

Is CVE-2024-31142 being exploited?

There is no known exploitation of CVE-2024-31142 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2024-31142, DEBIAN-CVE-2024-31142, GHSA-g7qc-r5p9-r36r, UBUNTU-CVE-2024-31142.

Is CVE-2024-31142 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free