已开启
fix CVE-2023-6604 #486
fix CVE-2023-6604 #486
已开启
Funda Wang创建于 1 天前
Funda Wang
Funda Wang
1 天前

当前PR是否有AI参与:

[x] Yes
__1. AI Agent 平台: AtomCode (AtomGit)
__2. AI 模型 : deepseek-v4-flash
__3. Prompt 上下文 : 根据上游修复 commit(avformat/bintext: Check avio_size() return)生成针对 4.2.4 的适配补丁,应用到 openEuler-22.03-LTS-SP4 分支修复 CVE-2023-6604,并在 spec 中追加 Patch 引用与 changelog

[ ] 否

参考:openEuler社区《生成式AI工具使用与开源贡献政策》

PR功能描述 / 为什么需要这个合入**:

修复 openEuler-22.03-LTS-SP4 分支(ffmpeg 4.2.4)中的 CVE-2023-6604:

CVE-2023-6604(XBIN Demuxer DoS 放大):FFmpeg 的 XBIN demuxer 对任意输入不做格式验证就按 XBIN 数据解复用,导致额外 CPU 负载和存储消耗(拒绝服务放大)。

上游修复 commit(libavformat/bintext.c,检查 avio_size() 返回值):

  • master: bf61f811e73dc62d1b53ed4ef6044b4e9e195113
  • release/4.4: 9806a37bcf42ebd9618adb2ce4a70ce7ecd0d921
  • 本补丁针对 4.2.4 做了适配(idf_read_header 变量声明与 4.4 不同),已按 spec 补丁顺序(现有 Patch0-85 + 新增 1 个)在 ffmpeg 4.2.4 源码上用 --fuzz=0 验证全部应用成功。

该PR关联的issue

(格式为fixes #<issue号>, 或者resolves #<issue号>): fixes #256

希望检视人员了解:

  1. 补丁文件沿用仓库现有命名规范(CVE-*.patch),spec 追加 Patch86 引用,Release 54→55,changelog 使用英文。
  2. 补丁作者为 Funda Wang,注明参考的上游 commit ID 并保留 Co-Authored-By。
  3. 漏洞影响面:master(9.0.1)、6.1.6 已包含上游修复(不受影响);4.2.4(20.03/22.03-SP4)、6.1.1(24.03-SP1/SP3/SP4)受影响,其中 24.03 系列可随 6.1.6 升级覆盖,本 MR 针对 4.2.4 手工移植。
likedislike
合并受阻
Funda WangFunda Wang
1 天前 创建了 pull request,commit 53db2f81
此处折叠了5条事件消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:sig/Desktop
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

Welcome To openEuler Community

Hey @fundawang , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: Desktop ,
and any of the maintainers: @cherry530, @dou33, @dwl301, @lipingEmmaSiguyi, @lostway1, @lw520203, @openbot, @robert-xingwang, @small_leek, @starlet-dx, @t_feng, @technology208, @wangxp006, @weidongkl, @yanan-rock ,
and any of the committers: @technology208, @weidongkl .

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ai-co-authored
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ai-includes-code
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

CLA Signature Pass

fundawang, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

门禁正在运行, 您可以通过以下链接查看实时门禁检查结果.
若您对门禁结果含义不清晰或者遇到问题不知如何解决,可参考门禁指导手册
门禁入口及编码规范检查: multiarch/src-openeuler/trigger/ffmpeg/372/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ci_processing
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ai-compliance-successful
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/ffmpeg/372/console

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/ffmpeg/372/console

likedislike
Funda Wang
Funda Wang
1 天前 评论:

/sync openEuler-20.03-LTS-SP4

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

In response to this:

/sync openEuler-20.03-LTS-SP4

@fundawang
一旦当前 PR 被合入,以下同步操作将会执行:

Branch Status
openEuler-20.03-LTS-SP4 当前 PR 合并后,将创建同步 PR
likedislike
openeuler-ci-botopeneuler-ci-bot成员
1 天前 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:
Check Name Build Result 详情 Build Details
x86_64 check_build SUCCESS #372
check_install SUCCESS
check_license SUCCESS
aarch64 check_build SUCCESS #372
check_install SUCCESS
check_license SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

如下为接口变更检查结果,目标分支为openEuler-22.03-LTS-SP4,请PR提交者check差异信息

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms SUCCESS #372
delete_rpms SUCCESS
rpm_abi SUCCESS
rpm_cmd SUCCESS
rpm_files SUCCESS
rpm_header SUCCESS
rpm_lib SUCCESS
rpm_provides SUCCESS
rpm_requires SUCCESS
rpm_symbol SUCCESS
compare_package(aarch64) add_rpms SUCCESS #372
delete_rpms SUCCESS
rpm_abi SUCCESS
rpm_cmd SUCCESS
rpm_files SUCCESS
rpm_header SUCCESS
rpm_lib SUCCESS
rpm_provides SUCCESS
rpm_requires SUCCESS
rpm_symbol SUCCESS
likedislike
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:
likedislike