已关闭
[bundle]合并修复CVE-2026-80212和CVE-2026-80213 #136
tong_1001创建于  11 天前关闭于  10 天前
openeuler-ci-botopeneuler-ci-bot成员
11 天前 添加了label:sig/sig-ruby
openeuler-ci-bot
openeuler-ci-bot成员
11 天前 评论:

Welcome To openEuler Community

Hey @tong_1001 , 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: sig-ruby ,
and any of the maintainers: @shinwell_hu, @small_leek ,
and any of the committers: @hubin1305, @shenyangyang .

likedislike
tong_1001
11 天前 评论:

/branches master /name shixuantong /email sxt1001@qq.com

likedislike
xiaoo_robot
xiaoo_robot
11 天前 评论:

正在自动化处理任务,任务编号:TASK-gitcode__ruby-136-20260828172231,指定分支:master

likedislike
tong_1001
10 天前 评论:

/assign

likedislike
openeuler-ci-botopeneuler-ci-bot成员
10 天前 将 tong_1001 设为负责人
Ttong_1001
10 天前 修改标题为 “[bundle]合并修复CVE-2026-80212和CVE-2026-80213”,原标题为“合并修复CVE-2026-80212和CVE-2026-80213”
tong_1001
10 天前 评论:

/branches openEuler-24.03-LTS-SP4 /name shixuantong /email sxt1001@qq.com

likedislike
xiaoo_robot
xiaoo_robot
10 天前 评论:

正在自动化处理任务,任务编号:TASK-gitcode__ruby-136-20260829083438,指定分支:openEuler-24.03-LTS-SP4

likedislike
tong_1001
10 天前 评论:

/branches master /name shixuantong /email sxt1001@qq.com

likedislike
xiaoo_robot
xiaoo_robot
10 天前 评论:

正在自动化处理任务,任务编号:TASK-gitcode__ruby-136-20260829090304,指定分支:master

✅ 任务结束 (用时: 82分钟)

likedislike
Ttong_1001
10 天前 关联了pull request:fix CVE-2026-80212 CVE-2026-80213
xiaoo_robotxiaoo_robot
10 天前 关联了pull request:fix: bundle CVE-2026-80212+CVE-2026-80213 - master
xiaoo_robot
xiaoo_robot
10 天前 评论:

─── CVE-2026-80212 ───
是否需要修复:是
是否存在适配:否
上游社区补丁:https://github.com/ruby/resolv/commit/23f000967da6daed15bc93b5e6e6fe644bd82f2f.patch

分支修复情况:
1.master: 已修复

PR:- master: https://gitcode.com/src-openeuler/ruby/merge_requests/336
适配情况:无

─── CVE-2026-80213 ───
是否需要修复:是
是否存在适配:否
上游社区补丁:https://github.com/ruby/resolv/commit/b0ddbb522cd76e58d965294dfb68133add52770c.patch

分支修复情况:
1.master: 已修复

PR:- master: https://gitcode.com/src-openeuler/ruby/merge_requests/336
适配情况:无

likedislike
xiaoo_robot
xiaoo_robot
10 天前 评论:

补丁适配报告 (CVE-2026-80212)

1. backport-CVE-2026-80212.patch

  • 状态: 适配成功 (status=adapted)
  • 置信度: high

适配冲突说明

# 文件 适配类型 原因
1 test/resolv/test_resource.rb 上下文调整 ruby-3.2.8 的 test/resolv/test_resource.rb 在 test_coord 方法后直接以 class 的 end 结尾,不存在原补丁期望的 def test_srv_no_compress 方法。适配仅调整尾部上下文行(从 def test_srv_no_compress 改为 class end),61 行核心 + 变更行逐字保留,未篡改任何字符。
完整代码 diff(适配前 → 适配后)

1. test/resolv/test_resource.rb — 上下文调整

--- 适配前
+++ 适配后
@@ -1,8 +1,6 @@
-@@ -24,6 +24,67 @@ def test_coord
+@@ -23,4 +23,66 @@ class TestResolvResource < Test::Unit::TestCase
      Resolv::LOC::Coord.create('1 2 1.1 N')
   end
 
-[+61 lines of new test methods]
-  def test_srv_no_compress
-    # Domain name in SRV RDATA should not be compressed
-    issue29 = 'https://github.com/ruby/resolv/issues/29'
+[+61 lines of new test methods, verbatim]
+end
likedislike
Ttong_1001
10 天前 关联了pull request:fix CVE-2026-80212 CVE-2026-80213
此处折叠了6条事件消息 查看更多
openeuler-ci-botopeneuler-ci-bot成员
10 天前 关联了pull request:[sync] PR-340: fix CVE-2026-80212 CVE-2026-80213
tong_1001
10 天前 评论:

/close

likedislike
openeuler-ci-botopeneuler-ci-bot成员
10 天前 issue状态由 待办的 改变为 已完成
openeuler-ci-botopeneuler-ci-bot成员
10 天前 关闭了 issue