已开启
fix(cve): 修复 CVE-2026-12479 在 python-Keras 中的漏洞 #24
fix(cve): 修复 CVE-2026-12479 在 python-Keras 中的漏洞 #24
已开启
infra_team创建于 6月23日
infra_team
6月23日

当前PR是否有AI参与:

[ ] 否

[x] Yes
__1. AI Agent 平台: Claude Code / CVE Agent Team
__2. AI 模型 : claude-sonnet-4-6
__3. Prompt 上下文 : CVE 漏洞修复全流程:归属分析、修复方案设计(backport/upgrade)、patch 生成、SPEC 文件修改(Patch/Version/Release/Changelog)、本地构建验证(rpmbuild -bp)

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

  • 🔍 全量审计声明:本项目已基于上游主分支执行全量补丁审计
  • CVE: CVE-2026-12479
  • 策略:backport
  • 改动详情:
    • 在 keras/saving/saving_lib.py 的 DiskIOStore 类新增 _full_path() 助手方法,规范化路径分隔符并拒绝包含 ..、以 / 开头或包含 :// 的相对路径,命中时抛出 ValueError
    • 将 DiskIOStore.make() 中对 tf.io.gfile.join 的直接调用替换为 self._full_path(path),阻断路径遍历
    • 将 DiskIOStore.get() 中对 tf.io.gfile.join 的直接调用替换为 self._full_path(path)
    • SPEC 新增 Patch1: backport-CVE-2026-12479.patch,Release 由 1 升至 2,并在 %changelog 增加 Tue Jun 23 2026 条目,引用 CVE-2026-12479 与上游 commit d8caeb58cc9e61ea092445dc7a20908ca8d693e2

该PR关联的issue

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

希望检视人员了解:

likedislike
合并受阻
Iinfra_team
6月23日 创建了 pull request,commit c1d9a8df
Iinfra_team
6月23日 关联了issue:CVE-2026-12479
openeuler-ci-botopeneuler-ci-bot成员
6月23日 将znzju,hubin95,Vchanger,chendh1设为审查人
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:sig/A-Tune
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

Welcome To openEuler Community

Hey @infra_team , 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.

Contact Guide

If you have any questions, please contact the SIG: A-Tune ,
and any of the maintainers: @Vchanger, @chendh1, @hubin95, @znzju ,

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

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

Protected Branch Version Release
master 2.12.0 2
openEuler-24.03-LTS-SP4 2.12.0 2
openEuler-24.03-LTS-SP3 2.12.0 2
openEuler-24.03-LTS-SP1 2.12.0 2
openEuler-24.03-LTS-Next 2.12.0 2
openEuler-22.03-LTS-SP4 2.10.0 1
openEuler-EPOL-LTS
gu 2.3.1 3
20.09

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

注意:

  1. /sync 命令可以指定同步到多个分支,仅最后一个 /sync 命令生效
  2. 如果创建的同步 PR 不正确,可通过向同步 PR 的源分支提交轻量级 PR 完善,或使用 /close 命令关闭
likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:stat/needs-squashai-co-authored
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:openeuler-cla/yes
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ai-includes-code
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

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

likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ci_processing
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ai-compliance-failed
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

AI Declaration Check Failed

@infra_team, AI tool declaration is not compliant. AI tool: Claude, Reason: Please verify the correctness of the AI-generated statement in the PR description. It must be consistent with the commit messages and not contradict them. For details, see here. ⚠️

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/python-Keras/5/console

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/python-Keras/5/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:
Check Name Build Result Build Details
check_binary_file ✅SUCCESS #5
check_lfsconfig :ballot_box_with_check:EXCLUDE
check_package_yaml_file ✅SUCCESS
check_repo_in_maintain ✅SUCCESS
check_consistency ✅SUCCESS
check_spec_file ✅SUCCESS
x86_64 check_build ❌FAILED #5
aarch64 check_build ❌FAILED #5
likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ci_failed
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:
likedislike
Iinfra_team
6月23日 预合并成功(commit_id: a9c36a4de2fbf573e2730db5fd540dc174e469dc)
Iinfra_team
6月23日 强制推送  1 个提交:7b4ebea4-fix(cve): 修复 CVE-2026-12479 在 python-Keras 中的路径遍历漏洞
Iinfra_team
6月23日 预合并成功(commit_id: 0178fd64e0b2a9c4a5ed615fde6be22d9e64f65d)
openeuler-ci-botopeneuler-ci-bot成员
6月23日 删除了label:openeuler-cla/yes
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:openeuler-cla/yes
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

CLA Signature Pass

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

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

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

likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 删除了label:ci_failed
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

aarch64架构构建及构建后检查:multiarch/src-openeuler/aarch64/python-Keras/6/console

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

AI Declaration Check Failed

@infra_team, AI tool declaration is not compliant. AI tool: Claude Code, Reason: Please verify the correctness of the AI-generated statement in the PR description. It must be consistent with the commit messages and not contradict them. For details, see here. ⚠️

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

x86_64架构构建及构建后检查:multiarch/src-openeuler/x86-64/python-Keras/6/console

likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 删除了label:ci_processing
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:
Check Name Build Result Build Details
check_binary_file ✅SUCCESS #6
check_lfsconfig :ballot_box_with_check:EXCLUDE
check_package_yaml_file ✅SUCCESS
check_repo_in_maintain ✅SUCCESS
check_consistency ✅SUCCESS
check_spec_file ✅SUCCESS
x86_64 check_build ✅SUCCESS #6
check_install ✅SUCCESS
check_license ✅SUCCESS
aarch64 check_build ✅SUCCESS #6
check_install ✅SUCCESS
check_license ✅SUCCESS
likedislike
openeuler-ci-botopeneuler-ci-bot成员
6月23日 添加了label:ci_successful
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:

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

Arch Name Check Items Rpm Name Check Result Build Details
compare_package(x86_64) add_rpms ✅SUCCESS #6
delete_rpms ✅SUCCESS
rpm_files python3-Keras ❌FAILED
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
compare_package(aarch64) add_rpms ✅SUCCESS #6
delete_rpms ✅SUCCESS
rpm_files python3-Keras ❌FAILED
rpm_provides ✅SUCCESS
rpm_requires ✅SUCCESS
likedislike
openeuler-ci-bot
openeuler-ci-bot成员
6月23日 评论:
likedislike
Linux_zhang2024
7月15日 评论:

该PR是本质是版本升级,建议修改PR标题信息(明确是单包版本升级),且关联修复issue

likedislike