Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903805 (CVE-2022-48434) - <media-video/ffmpeg-{4.4.3,6.0}: use-after-free leading to code execution
Summary: <media-video/ffmpeg-{4.4.3,6.0}: use-after-free leading to code execution
Status: RESOLVED FIXED
Alias: CVE-2022-48434
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A2 [glsa+]
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-05 03:15 UTC by John Helmert III
Modified: 2023-12-23 11:08 UTC (History)
1 user (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 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2023-04-05 03:15:45 UTC
CVE-2022-48434 (https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/cc867f2c09d2b69cee8a0eccd62aff002cbbfe11):
https://news.ycombinator.com/item?id=35356201
https://wrv.github.io/h26forge.pdf

libavcodec/pthread_frame.c in FFmpeg before 5.1.2, as used in VLC and other products, leaves stale hwaccel state in worker threads, which allows attackers to trigger a use-after-free and execute arbitrary code in some circumstances (e.g., hardware re-initialization upon a mid-video SPS change when Direct3D11 is used).
Comment 1 Larry the Git Cow gentoo-dev 2023-12-23 11:07:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glsa.git/commit/?id=054115a94fa38350f4468052ec239cbacb5b8e26

commit 054115a94fa38350f4468052ec239cbacb5b8e26
Author:     GLSAMaker <glsamaker@gentoo.org>
AuthorDate: 2023-12-23 11:07:01 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-12-23 11:07:29 +0000

    [ GLSA 202312-14 ] FFmpeg: Multiple Vulnerabilities
    
    Bug: https://bugs.gentoo.org/795696
    Bug: https://bugs.gentoo.org/842267
    Bug: https://bugs.gentoo.org/881523
    Bug: https://bugs.gentoo.org/903805
    Signed-off-by: GLSAMaker <glsamaker@gentoo.org>
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 glsa-202312-14.xml | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)