Bug 2331722 (CVE-2024-47537)

Summary: CVE-2024-47537 gstreamer1-plugins-good: OOB-write in isomp4/qtdemux.c
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the GStreamer library. An integer overflow in the MP4/MOV demuxer's sample table parser can lead to out-of-bounds writes and NULL-pointer dereferences for certain input files. This vulnerability allows a malicious third party to trigger an application crash and, in the case of out-of-bounds writes, possibly allow code execution through heap manipulation.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2331812, 2331813, 2331814, 2331815    
Bug Blocks:    

Description OSIDB Bzimport 2024-12-11 19:01:27 UTC
GStreamer is a library for constructing graphs of media-handling components. The program attempts to reallocate the memory pointed to by stream->samples to accommodate stream->n_samples + samples_count elements of type QtDemuxSample. The problem is that samples_count is read from the input file. And if this value is big enough, this can lead to an integer overflow during the addition. As a consequence, g_try_renew might allocate memory for a significantly smaller number of elements than intended. Following this, the program iterates through samples_count elements and attempts to write samples_count number of elements, potentially exceeding the actual allocated memory size and causing an OOB-write. This vulnerability is fixed in 1.24.10.

Comment 2 errata-xmlrpc 2024-12-16 15:55:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:11122 https://access.redhat.com/errata/RHSA-2024:11122

Comment 3 errata-xmlrpc 2024-12-16 16:02:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:11119 https://access.redhat.com/errata/RHSA-2024:11119

Comment 4 errata-xmlrpc 2024-12-16 16:10:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Extended Update Support

Via RHSA-2024:11121 https://access.redhat.com/errata/RHSA-2024:11121

Comment 5 errata-xmlrpc 2024-12-16 21:04:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2024:11148 https://access.redhat.com/errata/RHSA-2024:11148

Comment 6 errata-xmlrpc 2024-12-16 21:12:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:11149 https://access.redhat.com/errata/RHSA-2024:11149

Comment 7 errata-xmlrpc 2024-12-17 19:10:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2024:11298 https://access.redhat.com/errata/RHSA-2024:11298

Comment 8 errata-xmlrpc 2024-12-17 19:32:22 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:11299 https://access.redhat.com/errata/RHSA-2024:11299

Comment 9 errata-xmlrpc 2024-12-18 08:19:30 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:11344 https://access.redhat.com/errata/RHSA-2024:11344

Comment 10 errata-xmlrpc 2024-12-18 09:09:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions

Via RHSA-2024:11346 https://access.redhat.com/errata/RHSA-2024:11346

Comment 11 errata-xmlrpc 2024-12-18 09:37:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:11348 https://access.redhat.com/errata/RHSA-2024:11348