已开启
fix CVE-2023-6604 #487
fix CVE-2023-6604 #487
已开启
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)原样 backport 到 openEuler-24.03-LTS-SP4 分支(ffmpeg 6.1.1)修复 CVE-2023-6604,在 spec 中追加 Patch 引用与 changelog

[ ] 否

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

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

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

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

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

  • master: bf61f811e73dc62d1b53ed4ef6044b4e9e195113
  • release/6.1: f60c294f6d4450eab500f18c17bd748e981c9493

补丁为上游 release/6.1 cherry-pick 原样移植、未做任何修改,已按 spec 补丁顺序(现有 Patch0-72 + 新增 1 个)在 ffmpeg 6.1.1 源码上用 --fuzz=0 验证全部应用成功。

该PR关联的issue

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

希望检视人员了解:

  1. 补丁文件沿用仓库现有命名规范(CVE-*.patch),spec 追加 Patch73 引用,Release 49→50,changelog 使用英文。
  2. 补丁保留上游 format-patch 头部,一字未改。
  3. 漏洞影响面:master(9.0.1)、6.1.6 已包含上游修复(不受影响);4.2.4(20.03/22.03-SP4)、6.1.1(24.03-SP1/SP3/SP4)受影响,本 MR 针对 24.03-SP4 的 6.1.1 移植。
likedislike
合并受阻
Funda WangFunda Wang
1 天前 创建了 pull request,commit 907e4ec6
Funda WangFunda Wang
1 天前 关联了issue:CVE-2023-6604
openeuler-ci-botopeneuler-ci-bot成员
1 天前 将lipingEmmaSiguyi,small_leek,weidongkl,openbot,t_feng,lw520203,dou33,starlet-dx,cherry530,technology208,yanan-rock,dwl301,wangxp006,lostway1,robert-xingwang设为审查人
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 天前 评论:

当前仓库存在以下 保护分支

Protected Branch Version Release
master 9.0.1 2
openEuler-24.03-LTS-SP3 6.1.1 49
openEuler-20.03-LTS-SP4 4.2.4 55
openEuler-24.03-LTS-SP1 6.1.1 49
openEuler-22.03-LTS-SP4 4.2.4 55
openEuler-24.03-LTS-SP4 6.1.1 49
openEuler-24.03-LTS-Next 6.1.6 1
openEuler-26.09-DevStation 7.1.5 5
openEuler-26.09 7.1.5 3
cherry-pick-commit-53ab4594-1787557694904-auto 4.2.4 54
fix-cve-2020-22015-sp4 4.2.4 32
fix-cve-2020-22015 4.2.4 32
fix-cve-2020-22022 4.2.4 31
fix-cve-2020-20451 4.2.4 26

评论 /sync <branch1> <branch2> ... 可将当前 PR 修改同步到其它分支(创建同步 PR):
a) 如果当前 PR 是 Open 状态,同步操作将延迟到 PR 被合并时执行
b) 如果当前 PR 已经 Merged,将立即执行同步操作

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
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-botopeneuler-ci-bot成员
1 天前 添加了label:ai-compliance-successful
Funda Wang
Funda Wang
1 天前 评论:

/sync openEuler-24.03-LTS-SP3 openEuler-24.03-LTS-SP1

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

In response to this:

/sync openEuler-24.03-LTS-SP3 openEuler-24.03-LTS-SP1

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

Branch Status
openEuler-24.03-LTS-SP3 当前 PR 合并后,将创建同步 PR
openEuler-24.03-LTS-SP1 当前 PR 合并后,将创建同步 PR
likedislike
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

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

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

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

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

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

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 #373
check_install SUCCESS
check_license SUCCESS
aarch64 check_build SUCCESS #373
check_install SUCCESS
check_license SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-bot成员
1 天前 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
1 天前 评论:

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

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms SUCCESS #373
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 #373
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