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: CLOSED ERRATA
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: 1945340 1948940 1948941 1948942 1948947 1948948 1949026
Blocks: 1945353 1949263
TreeView+ depends on / blocked
 
Reported: 2021-03-31 17:36 UTC by Pedro Sampaio
Modified: 2022-12-03 18:17 UTC (History)
8 users (show)

Fixed In Version: gstreamer-plugins-good 1.18.4
Clone Of:
Environment:
Last Closed: 2022-12-03 18:17:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7618 0 None None None 2022-11-08 09:50:22 UTC

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

Comment 10 errata-xmlrpc 2022-11-08 09:50:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7618 https://access.redhat.com/errata/RHSA-2022:7618

Comment 11 Product Security DevOps Team 2022-12-03 18:17:33 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-3497


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