Bug 33430 - ffmpeg new security issue CVE-2023-49528
Summary: ffmpeg new security issue CVE-2023-49528
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 9
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
URL:
Whiteboard: MGA9-64-OK MGA9-32-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2024-07-25 09:04 CEST by Nicolas Salguero
Modified: 2025-02-12 19:29 CET (History)
5 users (show)

See Also:
Source RPM: ffmpeg-5.1.6-1.mga9.src.rpm
CVE: CVE-2023-49528
Status comment:


Attachments

Description Nicolas Salguero 2024-07-25 09:04:46 CEST
Fedora has issued an advisory on July 21:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R3BMDGSJN6WOKM5DG6WR4ITFVPI77UHH/

Currently, the fix is not available in versions 5.1.x.

Mageia 9 is also affected.
Nicolas Salguero 2024-07-25 09:05:37 CEST

Whiteboard: (none) => MGA9TOO
CVE: (none) => CVE-2023-49528
Source RPM: (none) => ffmpeg-5.1.5-3.mga10.src.rpm

Comment 1 Lewis Smith 2024-07-25 21:22:08 CEST
No fix available yet, but someone needs to hold this until one shows up.
Assigning to NicolasS who is best placed to spot the fix when it appears; either to update the version, or pass it on.

CC: (none) => geiger.david68210
Assignee: bugsquad => nicolas.salguero

Comment 2 Nicolas Salguero 2025-02-10 13:55:32 CET
Already fixed in Cauldron.

Whiteboard: MGA9TOO => (none)
Version: Cauldron => 9

Nicolas Salguero 2025-02-10 13:55:52 CET

Source RPM: ffmpeg-5.1.5-3.mga10.src.rpm => ffmpeg-5.1.6-1.mga9.src.rpm

Comment 3 Nicolas Salguero 2025-02-10 14:23:57 CET
Suggested advisory:
========================

The updated packages fix a security vulnerability:

Buffer Overflow vulnerability in FFmpeg version n6.1-3-g466799d4f5, allows a local attacker to execute arbitrary code and cause a denial of service (DoS) via the af_dialoguenhance.c:261:5 in the de_stereo component. (CVE-2023-49528)

References:
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/R3BMDGSJN6WOKM5DG6WR4ITFVPI77UHH/
========================

Updated packages in core/updates_testing:
========================
ffmpeg-5.1.6-1.1.mga9
lib(64)avcodec59-5.1.6-1.1.mga9
lib(64)avfilter8-5.1.6-1.1.mga9
lib(64)avformat59-5.1.6-1.1.mga9
lib(64)avutil57-5.1.6-1.1.mga9
lib(64)ffmpeg-devel-5.1.6-1.1.mga9
lib(64)ffmpeg-static-devel-5.1.6-1.1.mga9
lib(64)postproc56-5.1.6-1.1.mga9
lib(64)swresample4-5.1.6-1.1.mga9
lib(64)swscaler6-5.1.6-1.1.mga9

from SRPM:
ffmpeg-5.1.6-1.1.mga9.src.rpm

Updated packages in tainted/updates_testing:
========================
ffmpeg-5.1.6-1.1.mga9.tainted
lib(64)avcodec59-5.1.6-1.1.mga9.tainted
lib(64)avfilter8-5.1.6-1.1.mga9.tainted
lib(64)avformat59-5.1.6-1.1.mga9.tainted
lib(64)avutil57-5.1.6-1.1.mga9.tainted
lib(64)ffmpeg-devel-5.1.6-1.1.mga9.tainted
lib(64)ffmpeg-static-devel-5.1.6-1.1.mga9.tainted
lib(64)postproc56-5.1.6-1.1.mga9.tainted
lib(64)swresample4-5.1.6-1.1.mga9.tainted
lib(64)swscaler6-5.1.6-1.1.mga9.tainted

from SRPM:
ffmpeg-5.1.6-1.1.mga9.tainted.src.rpm

Assignee: nicolas.salguero => qa-bugs
Status: NEW => ASSIGNED

PC LX 2025-02-10 15:05:29 CET

CC: (none) => mageia

Comment 4 PC LX 2025-02-10 16:26:42 CET
Installed and tested tainted version without issues.

Tested:
- X11 desktop capture;
- V4L2 USB camera video/audio capture;
- ALSA and Pulse audio capture;
- converting video/audio files to/from various codecs (e.g. AV1, VP9, x265, x264, Opus, OGG, MP3, AAC);
- remuxing video/audio files to mkv, and mp4.
All OK.



System: Mageia 9, x86_64, Plasma DE, AMD Ryzen 5 5600G with Radeon Graphics using amdgpu driver.



$ uname -a
Linux jupiter 6.6.74-desktop-1.mga9 #1 SMP PREEMPT_DYNAMIC Sat Jan 25 12:11:40 UTC 2025 x86_64 GNU/Linux
$ rpm -qa | grep '5.1.6-1.1' | sort
ffmpeg-5.1.6-1.1.mga9.tainted
lib64avcodec59-5.1.6-1.1.mga9.tainted
lib64avfilter8-5.1.6-1.1.mga9.tainted
lib64avformat59-5.1.6-1.1.mga9.tainted
lib64avutil57-5.1.6-1.1.mga9.tainted
lib64postproc56-5.1.6-1.1.mga9.tainted
lib64swresample4-5.1.6-1.1.mga9.tainted
lib64swscaler6-5.1.6-1.1.mga9.tainted
katnatek 2025-02-10 20:20:26 CET

Keywords: (none) => advisory

Comment 5 Herman Viaene 2025-02-11 11:16:23 CET
Testing core versions with ffmulticonvert: mp4 to mpg worked OK
avi to ogg in progress.

CC: (none) => herman.viaene

Comment 6 Herman Viaene 2025-02-11 14:10:55 CET
Conversion from avi to ogg works OK.
There in one snag with ffmulticonvert: the progress bar of the conversion does not work, it remains at 0%, akthough the conversion proceeds and is sucessfull. It gives thus also no indication when the process is completed. I guess this has nothing to do with the ffmpeg itself??
Comment 7 Herman Viaene 2025-02-11 14:59:31 CET
Trying ffmulticonvert with painted versions on one mpg file. Same behaviot, no progress bar, but I see the size of the output file increasing. Will come back when completed.
Comment 8 Thomas Andrews 2025-02-11 16:50:24 CET
ffmulticonverter has another problem, or maybe it's related somehow. I can't install it because of a conflict involving python3-sip. It wants an old version, but it's been replaced with a much newer one.

I will file another bug on it. I do not think the issue is related to ffmpeg and this bug.

CC: (none) => andrewsfarm

Comment 9 Herman Viaene 2025-02-11 18:16:19 CET
mpg to mp4 successfull.
For me, I won't object the OK.
Comment 10 katnatek 2025-02-11 18:22:34 CET
(In reply to Herman Viaene from comment #7)
> Trying ffmulticonvert with painted versions on one mpg file. Same behaviot,
> no progress bar, but I see the size of the output file increasing. Will come
> back when completed.

This application not works in mageia 9
https://bugs.mageia.org/show_bug.cgi?id=32465
Comment 11 katnatek 2025-02-11 19:49:34 CET
RH i586

core packages

installing libpostproc56-5.1.6-1.1.mga9.i586.rpm libavfilter8-5.1.6-1.1.mga9.i586.rpm libavformat59-5.1.6-1.1.mga9.i586.rpm libswscaler6-5.1.6-1.1.mga9.i586.rpm libavcodec59-5.1.6-1.1.mga9.i586.rpm libswresample4-5.1.6-1.1.mga9.i586.rpm libavutil57-5.1.6-1.1.mga9.i586.rpm ffmpeg-5.1.6-1.1.mga9.i586.rpm from //home/katnatek/qa-testing/i586
Preparing...                     #######################################################################################
      1/8: libavutil57           #######################################################################################
      2/8: libswresample4        #######################################################################################
      3/8: libavcodec59          #######################################################################################
      4/8: libpostproc56         #######################################################################################
      5/8: libswscaler6          #######################################################################################
      6/8: libavformat59         #######################################################################################
      7/8: libavfilter8          #######################################################################################
      8/8: ffmpeg                #######################################################################################
      1/8: removing ffmpeg-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      2/8: removing libavfilter8-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      3/8: removing libavformat59-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      4/8: removing libavcodec59-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      5/8: removing libswresample4-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      6/8: removing libpostproc56-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      7/8: removing libswscaler6-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################
      8/8: removing libavutil57-5.1.6-1.mga9.tainted.i586
                                 #######################################################################################

Play videos and audios with ffplay OK
Comment 12 katnatek 2025-02-11 19:53:22 CET
RH i586

tainted packages

installing libswresample4-5.1.6-1.1.mga9.tainted.i586.rpm libavformat59-5.1.6-1.1.mga9.tainted.i586.rpm libavutil57-5.1.6-1.1.mga9.tainted.i586.rpm libpostproc56-5.1.6-1.1.mga9.tainted.i586.rpm ffmpeg-5.1.6-1.1.mga9.tainted.i586.rpm libavfilter8-5.1.6-1.1.mga9.tainted.i586.rpm libavcodec59-5.1.6-1.1.mga9.tainted.i586.rpm libswscaler6-5.1.6-1.1.mga9.tainted.i586.rpm from //home/katnatek/qa-testing/i586
Preparing...                     #######################################################################################
      1/8: libavutil57           #######################################################################################
      2/8: libswresample4        #######################################################################################
      3/8: libavcodec59          #######################################################################################
      4/8: libpostproc56         #######################################################################################
      5/8: libswscaler6          #######################################################################################
      6/8: libavformat59         #######################################################################################
      7/8: libavfilter8          #######################################################################################
      8/8: ffmpeg                #######################################################################################
      1/8: removing ffmpeg-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      2/8: removing libavfilter8-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      3/8: removing libavformat59-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      4/8: removing libavcodec59-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      5/8: removing libswresample4-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      6/8: removing libpostproc56-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      7/8: removing libswscaler6-5.1.6-1.1.mga9.i586
                                 #######################################################################################
      8/8: removing libavutil57-5.1.6-1.1.mga9.i586
                                 #######################################################################################


Play videos and audios with ffplay OK
Comment 13 Herman Viaene 2025-02-12 10:09:14 CET
Tested enough to let go, I guess.

Whiteboard: (none) => MGA9-64-OK

Comment 14 Thomas Andrews 2025-02-12 15:35:45 CET
Thank you, Herman. Adding a 32-bit OK because of katnatek's tests.

Validating.

Keywords: (none) => validated_update
Whiteboard: MGA9-64-OK => MGA9-64-OK MGA9-32-OK
CC: (none) => sysadmin-bugs

Comment 15 Mageia Robot 2025-02-12 19:29:46 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2025-0057.html

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


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