Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 917791 (CVE-2023-44429, CVE-2023-44446, ZDI-CAN-22226, ZDI-CAN-22299)

Summary: media-libs/gstreamer: multiple vulnerabilities
Product: Gentoo Security Reporter: Jarkko Suominen <bugzillas>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: CONFIRMED ---    
Severity: major CC: gstreamer, jorge+git, leio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: A2 [stable]
Package list:
Runtime testing required: ---
Bug Depends on: 928779, 908978    
Bug Blocks:    

Description Jarkko Suominen 2023-11-23 07:09:38 UTC
https://www.zerodayinitiative.com/advisories/ZDI-CAN-22299
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of MXF video files. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the current process.



https://www.zerodayinitiative.com/advisories/ZDI-CAN-22226/
This vulnerability allows remote attackers to execute arbitrary code on affected installations of GStreamer. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the parsing of AV1 encoded video files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.



https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/b76a801f57353b893c344025cac56413140fca6d
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/7dfaa57b6f9b55f17ffe824bd8988bb71ae11353
Both of these vulnerabilities have been fixed in 1.22.7. There is a related version bump bug: https://bugs.gentoo.org/908978
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-11-24 04:10:40 UTC
user assisted code execution -> 2?
Comment 2 Jarkko Suominen 2023-11-24 06:00:15 UTC
(In reply to John Helmert III from comment #1)
> user assisted code execution -> 2?

The impact has been described as follows:

https://gstreamer.freedesktop.org/security/sa-2023-0010.html
It is possible for a malicious third party to trigger a crash in the application.

https://gstreamer.freedesktop.org/security/sa-2023-0009.html
It is possible for a malicious third party to trigger a crash in the application, and possibly also effect code execution through heap manipulation.

Because of that I thought that 4 might be appropriate. Agreed that 2 is correct since these require user assistance
Comment 3 Jarkko Suominen 2023-11-24 06:31:08 UTC
*and may lead to code execution
Comment 4 Mart Raudsepp gentoo-dev 2024-04-01 20:11:51 UTC
Sorry for the huge delay. The needed version bumps are in now, but giving it at least a couple days to settled and make sure there are no issues as it was coupled with a huge review of all ebuilds and many eclass changes.