• 公告ID (KylinSec-SA-2024-3239)

摘要:

ffmpeg security update

安全等级: High

公告ID: KylinSec-SA-2024-3239

发布日期: 2024年7月19日

关联CVE: CVE-2022-1475   CVE-2022-48434   CVE-2024-32230  

  • 详细介绍

1. 漏洞描述

   

FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash.

Security Fix(es):

An integer overflow vulnerability was found in FFmpeg versions before 4.4.2 and before 5.0.1 in g729_parse() in llibavcodec/g729_parser.c when processing a specially crafted file.(CVE-2022-1475)

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).(CVE-2022-48434)

FFmpeg 7.0 is vulnerable to Buffer Overflow. There is a negative-size-param bug at libavcodec/mpegvideo_enc.c:1216:21 in load_input_picture in FFmpeg7.0(CVE-2024-32230)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-1475 KY3.4-5A ffmpeg Fixed
CVE-2022-48434 KY3.4-5A ffmpeg Fixed
CVE-2024-32230 KY3.4-5A ffmpeg Fixed

3. 影响组件

    ffmpeg

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
ffmpeg x86_64 4.2.4-18.kb1.ky3_4
ffmpeg-devel x86_64 4.2.4-18.kb1.ky3_4
ffmpeg-libs x86_64 4.2.4-18.kb1.ky3_4
libavdevice x86_64 4.2.4-18.kb1.ky3_4
ffmpeg aarch64 4.2.4-18.kb1.ky3_4
ffmpeg-devel aarch64 4.2.4-18.kb1.ky3_4
ffmpeg-libs aarch64 4.2.4-18.kb1.ky3_4
libavdevice aarch64 4.2.4-18.kb1.ky3_4

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     ffmpeg   

     ffmpeg-devel   

     ffmpeg-libs   

     libavdevice   

aarch64:

     ffmpeg   

     ffmpeg-devel   

     ffmpeg-libs   

     libavdevice   

上一篇:KylinSec-SA-2024-3238 下一篇:KylinSec-SA-2024-3240