CVE-2024-47776 GHSL-2024-260: GStreamer has a OOB-read in gst_wavparse_cue_chunk

Medium 5.1 Published Updated

An out-of-bounds read in GStreamer's WAV parser allows attackers to cause crashes or leak sensitive data via crafted media files.

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

What is CVE-2024-47776?

CVE-2024-47776 is a medium-severity memory corruption vulnerability in Gstreamer Gstreamer, published on 11 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

GStreamer is a library for constructing graphs of media-handling components. An OOB-read has been discovered in gst_wavparse_cue_chunk within gstwavparse.c. The vulnerability happens due to a discrepancy between the size of the data buffer and the size value provided to the function. This mismatch causes the comparison if (size < 4 + ncues * 24) to fail in some cases, allowing the subsequent loop to access beyond the bounds of the data buffer. The root cause of this discrepancy stems from a miscalculation when clipping the chunk size based on upstream data size. This vulnerability allows reading beyond the bounds of the data buffer, potentially leading to a crash (denial of service) or the leak of sensitive data. This vulnerability is fixed in 1.24.10.

Weakness: CWE-125

Which versions are affected by CVE-2024-47776?

3 open source packages ship an affected version, including java, java-min and jre. It affects 1 product.

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.451
java-min BitnamiAll versions1.8.0, 8.0.451
jre BitnamiAll versions1.8.0, 8.0.451

Products include Gstreamer Gstreamer.

How do I fix CVE-2024-47776?

Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.451.

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

Is CVE-2024-47776 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47776 exists.

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-62372, BIT-java-2024-47776, BIT-java-min-2024-47776, BIT-jre-2024-47776, DEBIAN-CVE-2024-47776, MINI-cxqc-rxhf-pv9v and 1 more.

Is CVE-2024-47776 in your software?

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

Check your SBOMs for free