CVE-2024-47597 GHSL-2024-245: GStreamer has an OOB-read in qtdemux_parse_samples

Medium 5.1 Published Updated

An out-of-bounds read in GStreamer's qtdemux component allows attackers to read memory or cause crashes via malicious 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-47597?

CVE-2024-47597 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 detected in the function qtdemux_parse_samples within qtdemux.c. This issue arises when the function qtdemux_parse_samples reads data beyond the boundaries of the stream->stco buffer. The following code snippet shows the call to qt_atom_parser_get_offset_unchecked, which leads to the OOB-read when parsing the provided GHSL-2024-245_crash1.mp4 file. This issue may lead to read up to 8 bytes out-of-bounds. This vulnerability is fixed in 1.24.10.

Weakness: CWE-125

Which versions are affected by CVE-2024-47597?

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-47597?

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-47597 being exploited?

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

All Gstreamer Gstreamer vulnerabilities

Sources

Also known as AZL-62384, BIT-java-2024-47597, BIT-java-min-2024-47597, BIT-jre-2024-47597, DEBIAN-CVE-2024-47597, MINI-mxx3-wjhh-3hqq and 1 more.

Is CVE-2024-47597 in your software?

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

Check your SBOMs for free