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) - media-libs/gstreamer: multiple vulnerabilities
Summary: media-libs/gstreamer: multiple vulnerabilities
Status: CONFIRMED
Alias: CVE-2023-44429, CVE-2023-44446, ZDI-CAN-22226, ZDI-CAN-22299
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major with 1 vote (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A2 [glsa? cleanup]
Keywords:
Depends on: 908978 928779
Blocks:
  Show dependency tree
 
Reported: 2023-11-23 07:09 UTC by Jarkko Suominen
Modified: 2024-04-22 11:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 5 Mart Raudsepp gentoo-dev 2024-04-22 11:14:37 UTC
If there's a GLSA, I'd put it together with bug 918095 one