中危 ffmpeg ffmpeg 跨界内存写

CVE编号

CVE-2022-2566

利用情况

暂无

补丁情况

官方补丁

披露时间

2022-09-23
漏洞描述
A heap out-of-bounds memory write exists in FFMPEG since version 5.1. The size calculation in `build_open_gop_key_points()` goes through all entries in the loop and adds `sc->ctts_data[i].count` to `sc->sample_offsets_count`. This can lead to an integer overflow resulting in a small allocation with `av_calloc()`. An attacker can cause remote code execution via a malicious mp4 file. We recommend upgrading past commit c953baa084607dd1d84c3bfcce3cf6a87c3e6e05
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 ffmpeg ffmpeg 5.1 -
运行在以下环境
系统 debian_10 ffmpeg * Up to
(excluding)
4.1.11-0+deb10u1
运行在以下环境
系统 debian_11 ffmpeg * Up to
(excluding)
4.3.6-0+deb11u1
运行在以下环境
系统 debian_12 ffmpeg * Up to
(excluding)
5.1.1-1
阿里云评分
6.5
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    普通权限
  • 影响范围
    越权影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-190 整数溢出或超界折返
CWE-787 跨界内存写
阿里云安全产品覆盖情况