CVE-2023-34321 arm32: The cache may not be properly cleaned/invalidated

Low 3.3 Published Updated

An integer overflow in Xen's arm32 cache helpers may skip cache invalidation, allowing guest memory writes to be lost or stale data to be read.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-34321?

CVE-2023-34321 is a low-severity vulnerability in Xen Xen, published on 5 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Arm provides multiple helpers to clean & invalidate the cache for a given region. This is, for instance, used when allocating guest memory to ensure any writes (such as the ones during scrubbing) have reached memory before handing over the page to a guest.

Unfortunately, the arithmetics in the helpers can overflow and would then result to skip the cache cleaning/invalidation. Therefore there is no guarantee when all the writes will reach the memory.

Weakness: CWE-119

Which versions are affected by CVE-2023-34321?

It affects 1 product.

Products include Xen Xen.

How do I fix CVE-2023-34321?

Apply the vendor's patch.

Is CVE-2023-34321 being exploited?

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

All Xen Xen vulnerabilities

Sources

Also known as ALPINE-CVE-2023-34321, DEBIAN-CVE-2023-34321, GHSA-p5q9-hxvv-3rqq, UBUNTU-CVE-2023-34321.

Is CVE-2023-34321 in your software?

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

Check your SBOMs for free