Bug 1223274 (CVE-2023-51796)

Summary: VUL-0: CVE-2023-51796: ffmpeg: buffer overflow via the areverse_request_frame function in libavfilter/f_reverse.c
Product: [openSUSE] openSUSE Distribution Reporter: SMASH SMASH <smash_bz>
Component: OtherAssignee: Jan Engelhardt <jengelh>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: camila.matos
Version: Leap 15.6   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/402768/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-51796:7.8:(AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-22 19:08:08 UTC
Buffer Overflow vulnerability in Ffmpeg v.N113007-g8d24a28d06 allows a local attacker to execute arbitrary code via the libavfilter/f_reverse.c:269:26 in areverse_request_frame.

References:
https://ffmpeg.org/
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-51796
https://www.cve.org/CVERecord?id=CVE-2023-51796
https://trac.ffmpeg.org/ticket/10753
https://bugzilla.redhat.com/show_bug.cgi?id=2276120
Comment 1 Camila Camargo de Matos 2024-04-22 19:10:29 UTC
openSUSE:Factory/ffmpeg-5 is the only current package that is affected by this issue.

As per upstream's comment in the fixing commit [0], this issue was introduced together with the changes from commit 45dc668a [1], meaning that only versions 5.0 and later are vulnerable to the issue described by CVE-2023-51796. 

As for package openSUSE:Factory/ffmpeg-6, it's code already includes the fix for this vulnerability.

[0] https://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=61e73851a33f0b4cb7662f8578a4695e77bd3c19
[1] https://git.videolan.org/?p=ffmpeg.git;a=commit;h=45dc668aea0edac34969b5a1ff76cf9ad3a09be1