cve.bz

CVE-2022-42324

5.5 mediumEPSS 0.3%Fix available

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Oxenstored 32->31 bit integer truncation issues Integers in Ocaml are 63 or 31 bits of signed precision. The Ocaml Xenbus library takes a C uint32_t out of the ring and casts it directly to an Ocaml integer. In 64-bit Ocaml builds this is fine, but in 32-bit builds, it truncates off the most significant bit, and then creates unsigned/signed confusion in the remainder. This in turn can feed a negative value into logic not expecting a negative value, resulting in unexpected exceptions being thrown. The unexpected exception is not handled suitably, creating a busy-loop trying (and failing) to take the bad packet out of the xenstore ring.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-681 Incorrect Conversion between Numeric Types
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-42324 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-42324?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-42324?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-42324 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux11.0
fedoraproject:fedora35
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11xen4.14.5+86-g1c354767d5-1DSA-5272-1
Debian12, 13, 14xen4.16.2+90-g0d39a6d1ae-1DEBIAN-CVE-2022-42324
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morexenno fix listedUBUNTU-CVE-2022-42324
Alpinev3.14, v3.15xen4.15.4-r0ALPINE-CVE-2022-42324
Alpinev3.18, v3.19, v3.20 and 4 morexen4.17.0-r0ALPINE-CVE-2022-42324

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

References

Check your stackJSON