CVE-2024-3933 Eclipse Open J9 With -Xgc:concurrentScavenge on IBM Z, could write/read outside of a buffer

Medium 5.3 Published Updated

Attackers can read or write outside buffer boundaries in Eclipse OpenJ9 on IBM Z when using concurrent scavenging garbage collection, potentially leading to code execution.

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-2024-3933?

CVE-2024-3933 is a medium-severity memory corruption vulnerability in Eclipse Foundation Open J9, published on 27 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Eclipse OpenJ9 release versions prior to 0.44.0 and after 0.13.0, when running with JVM option -Xgc:concurrentScavenge, the sequence generated for System.arrayCopy on the IBM Z platform with hardware and software support for guarded storage [1], could allow access to a buffer with an incorrect length value when executing an arraycopy sequence while the Concurrent Scavenge Garbage Collection cycle is active and the source and destination memory regions for arraycopy overlap. This allows read and write to addresses beyond the end of the array range.

Weakness: CWE-805, CWE-787, CWE-125

Which versions are affected by CVE-2024-3933?

It affects 1 product.

Products include Eclipse Openj9.

How do I fix CVE-2024-3933?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-3933 being exploited?

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

Sources

Is CVE-2024-3933 in your software?

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

Check your SBOMs for free