CVE-2024-47606
Last modified
CVE-2024-47606 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. EPSS estimates a 1.34% chance of exploitation in the next 30 days.
Description
GStreamer is a library for constructing graphs of media-handling components. An integer underflow has been detected in the function qtdemux_parse_theora_extension within qtdemux.c. The vulnerability occurs due to an underflow of the gint size variable, which causes size to hold a large unintended value when cast to an unsigned integer. This 32-bit negative value is then cast to a 64-bit unsigned integer (0xfffffffffffffffa) in a subsequent call to gst_buffer_new_and_alloc. The function gst_buffer_new_allocate then attempts to allocate memory, eventually calling _sysmem_new_block. The function _sysmem_new_block adds alignment and header size to the (unsigned) size, causing the overflow of the 'slice_size' variable. As a result, only 0x89 bytes are allocated, despite the large input size. When the following memcpy call occurs in gst_buffer_fill, the data from the input file will overwrite the content of the GstMapInfo info structure. Finally, during the call to gst_memory_unmap, the overwritten memory may cause a function pointer hijack, as the mem->allocator->mem_unmap_full function is called with a corrupted pointer. This function pointer overwrite could allow an attacker to alter the execution flow of the program, leading to arbitrary code execution. This vulnerability is fixed in 1.24.10.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gstreamer | Gstreamer | < 1.24.10 |
| Debian | Debian Linux | 11.0 |
References
- https://securitylab.github.com/advisories/GHSL-2024-166_Gstreamer/Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-47606?
How severe is CVE-2024-47606?
How do I fix CVE-2024-47606?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-47600GStreamer is a library for constructing graphs of media-hand…9.1
- CVE-2024-47601GStreamer is a library for constructing graphs of media-hand…7.5
- CVE-2024-47602GStreamer is a library for constructing graphs of media-hand…7.5
- CVE-2024-47603GStreamer is a library for constructing graphs of media-hand…7.5
- CVE-2024-47604NuGet Gallery is a package repository that powers nuget.org.…6.1
- CVE-2024-47605silverstripe-asset-admin is a silverstripe assets gallery fo…5.4
- CVE-2024-47607GStreamer is a library for constructing graphs of media-hand…9.8
- CVE-2024-47608Logicytics is designed to harvest and collect data for foren…9.8
- CVE-2024-47609Tonic is a native gRPC client & server implementation with a…6.9
- CVE-2024-4761Out of bounds write in V8 in Google Chrome prior to 124.0.63…8.8
- CVE-2024-47610InvenTree is an Open Source Inventory Management System. In …5.4
- CVE-2024-47611XZ Utils provide a general-purpose data-compression library …6.3
Are you affected by CVE-2024-47606?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
