Bug 1945339 (CVE-2021-3497) - CVE-2021-3497 gstreamer-plugins-good: Use-after-free in matroska demuxing
Summary: CVE-2021-3497 gstreamer-plugins-good: Use-after-free in matroska demuxing
Keywords:
Status: NEW
Alias: CVE-2021-3497
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1948942 1945340 1948940 1948941 1948947 1948948 1949026
Blocks: 1945353 1949263
TreeView+ depends on / blocked
 
Reported: 2021-03-31 17:36 UTC by Pedro Sampaio
Modified: 2022-04-17 21:16 UTC (History)
8 users (show)

Fixed In Version: gstreamer-plugins-good 1.18.4
Doc Type: If docs needed, set a value
Doc Text:
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-03-31 17:36:32 UTC
GStreamer before 1.18.4 might access already-freed memory in error code paths when demuxing certain malformed Matroska files.

References:

https://gstreamer.freedesktop.org/security/sa-2021-0002.html
https://gstreamer.freedesktop.org/releases/1.18/#1.18.4

Comment 1 Pedro Sampaio 2021-03-31 17:37:15 UTC
Created mingw-gstreamer-plugins-good tracking bugs for this issue:

Affects: fedora-all [bug 1945340]

Comment 3 Huzaifa S. Sidhpurwala 2021-04-13 06:26:19 UTC
Analysis:

This is a use-after-free in gstreamer Matroska plugin. An attacker could a malicious .mkv file and cause application crash or even arbitrary code execution with permissions of the user running the said application. However code execution seems difficult, because the most modern compilers and glibc have protections against use-after-free

Comment 5 Huzaifa S. Sidhpurwala 2021-04-13 06:49:09 UTC
Created gstreamer1-plugins-good tracking bugs for this issue:

Affects: fedora-all [bug 1948948]


Created mingw-gstreamer1-plugins-good tracking bugs for this issue:

Affects: fedora-all [bug 1948947]

Comment 8 Guilherme de Almeida Suckevicz 2021-04-19 14:16:12 UTC
External References:

https://gstreamer.freedesktop.org/security/sa-2021-0002.html


Note You need to log in before you can comment on or make changes to this bug.