PT-2022-26366 · Unknown · Oxenstored

Jürgen Groß

·

Published

2022-11-01

·

Updated

2024-02-04

·

CVE-2022-42324

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Oxenstored versions 32-bit builds
Description The issue arises from the Ocaml Xenbus library taking a C uint32 t out of the ring and casting it directly to an Ocaml integer. In 32-bit builds, this causes a truncation of the most significant bit, leading to unsigned/signed confusion. As a result, a negative value can be fed into logic that does not expect it, causing unexpected exceptions. These exceptions are not handled properly, resulting in a busy-loop that attempts to remove a bad packet from the xenstore ring.
Recommendations For 32-bit builds of Oxenstored, consider applying a patch that correctly handles the casting of C uint32 t to Ocaml integers to prevent integer truncation issues. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-42324
DSA-5272-1

Affected Products

Oxenstored