Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Watch
Unwatch
Watching
Releases Only
Ignoring
109
Star
0
Fork
49
src-openEuler
/
ruby
Closed
Code
Issues
3
Pull Requests
1
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
CVE-2025-43857
Done
#IC9ZIE
CVE和安全问题
openeuler-ci-bot
owner
Opened this issue
2025-05-23 11:17
一、漏洞信息 漏洞编号:[CVE-2025-43857](https://nvd.nist.gov/vuln/detail/CVE-2025-43857) 漏洞归属组件:[ruby](https://gitee.com/src-openeuler/ruby) 漏洞归属的版本:2.5.8,3.0.3,3.2.7 CVSS V3.0分值: BaseScore:7.5 High Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 漏洞简述: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a literal byte count, which is automatically read by the client s receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5. 漏洞公开时间:2025-04-29 00:15:33 漏洞创建时间:2025-05-23 11:17:27 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-43857 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/442 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/445 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/446 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/447 | | | security-advisories.github.com | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-43857 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-43857 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/442 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/445 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/446 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/447 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | ruby | | https://github.com/rubysec/ruby-advisory-db/gems/net-imap/CVE-2025-43857.yml | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2025-43857 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2025-43857 | https://explore.alas.aws.amazon.com/CVE-2025-43857.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-43857 | https://explore.alas.aws.amazon.com/CVE-2025-43857.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/ruby/net-imap/pull/442 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/445 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/446 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/447 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/442 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/445 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/446 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/447 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/442 | | nvd | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | nvd | | | | https://github.com/ruby/net-imap/pull/445 | | nvd | | | | https://github.com/ruby/net-imap/pull/446 | | nvd | | | | https://github.com/ruby/net-imap/pull/447 | | nvd | | | | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: 当客户端连接到 IMAP 服务器时,服务器可能会发送一个 “literal”响应,其中包含一个字节数。这个字节数告诉客户端需要读取多少字节的数据。客户端的接收线程会立即分配内存来存储这个数量的字节。如果恶意服务器发送一个非常大的字节数(例如 1GB 或更大),客户端就会尝试分配大量内存。如果内存不足,会导致程序崩溃或系统资源耗尽,造成拒绝服务。 openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 受影响版本排查(受影响/不受影响): 1.master(3.2.8):受影响 2.openEuler-20.03-LTS-SP4(2.5.8):受影响 3.openEuler-22.03-LTS-SP3:受影响 4.openEuler-22.03-LTS-SP4:受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(3.2.8):否 2.openEuler-20.03-LTS-SP4(2.5.8):否 3.openEuler-22.03-LTS-SP3:否 4.openEuler-22.03-LTS-SP4:否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(3.2.8):正常修复 2.openEuler-20.03-LTS-SP4(2.5.8):正常修复 3.openEuler-22.03-LTS-SP3:正常修复 4.openEuler-22.03-LTS-SP4:正常修复 5.openEuler-24.03-LTS:正常修复 6.openEuler-24.03-LTS-Next:正常修复 7.openEuler-24.03-LTS-SP1:正常修复 8.openEuler-24.03-LTS-SP2:正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1640
一、漏洞信息 漏洞编号:[CVE-2025-43857](https://nvd.nist.gov/vuln/detail/CVE-2025-43857) 漏洞归属组件:[ruby](https://gitee.com/src-openeuler/ruby) 漏洞归属的版本:2.5.8,3.0.3,3.2.7 CVSS V3.0分值: BaseScore:7.5 High Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 漏洞简述: Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5, there is a possibility for denial of service by memory exhaustion when net-imap reads server responses. At any time while the client is connected, a malicious server can send can send a literal byte count, which is automatically read by the client s receiver thread. The response reader immediately allocates memory for the number of bytes indicated by the server response. This should not be an issue when securely connecting to trusted IMAP servers that are well-behaved. It can affect insecure connections and buggy, untrusted, or compromised servers (for example, connecting to a user supplied hostname). This issue has been patched in versions 0.5.7, 0.4.20, 0.3.9, and 0.2.5. 漏洞公开时间:2025-04-29 00:15:33 漏洞创建时间:2025-05-23 11:17:27 漏洞详情参考链接: https://nvd.nist.gov/vuln/detail/CVE-2025-43857 <details> <summary>更多参考(点击展开)</summary> | 参考来源 | 参考链接 | 来源链接 | | ------- | -------- | -------- | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/442 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/445 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/446 | | | security-advisories.github.com | https://github.com/ruby/net-imap/pull/447 | | | security-advisories.github.com | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | | | suse_bugzilla | http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2025-43857 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://www.cve.org/CVERecord?id=CVE-2025-43857 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/442 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/445 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/446 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/pull/447 | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | suse_bugzilla | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | https://bugzilla.suse.com/show_bug.cgi?id=1241998 | | ruby | | https://github.com/rubysec/ruby-advisory-db/gems/net-imap/CVE-2025-43857.yml | | anolis | | https://anas.openanolis.cn/cves/detail/CVE-2025-43857 | | amazon_linux_explore | https://access.redhat.com/security/cve/CVE-2025-43857 | https://explore.alas.aws.amazon.com/CVE-2025-43857.html | | amazon_linux_explore | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-43857 | https://explore.alas.aws.amazon.com/CVE-2025-43857.html | </details> 漏洞分析指导链接: https://gitee.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/manual.md 漏洞数据来源: openBrain开源漏洞感知系统 漏洞补丁信息: <details> <summary>详情(点击展开)</summary> | 影响的包 | 修复版本 | 修复补丁 | 问题引入补丁 | 来源 | | ------- | -------- | ------- | -------- | --------- | | | | https://github.com/ruby/net-imap/pull/442 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/445 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/446 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/447 | | security-advisories.github.com | | | | https://github.com/ruby/net-imap/pull/442 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/445 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/446 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/447 | | suse_bugzilla | | | | https://github.com/ruby/net-imap/pull/442 | | nvd | | | | https://github.com/ruby/net-imap/pull/444/commits/0ae8576c1a90bcd9573f81bdad4b4b824642d105#diff-53721cb4d9c3fb86b95cc8476ca2df90968ad8c481645220c607034399151462 | | nvd | | | | https://github.com/ruby/net-imap/pull/445 | | nvd | | | | https://github.com/ruby/net-imap/pull/446 | | nvd | | | | https://github.com/ruby/net-imap/pull/447 | | nvd | | | | https://github.com/ruby/net-imap/security/advisories/GHSA-j3g3-5qv5-52mj | | nvd | </details> 二、漏洞分析结构反馈 影响性分析说明: 当客户端连接到 IMAP 服务器时,服务器可能会发送一个 “literal”响应,其中包含一个字节数。这个字节数告诉客户端需要读取多少字节的数据。客户端的接收线程会立即分配内存来存储这个数量的字节。如果恶意服务器发送一个非常大的字节数(例如 1GB 或更大),客户端就会尝试分配大量内存。如果内存不足,会导致程序崩溃或系统资源耗尽,造成拒绝服务。 openEuler评分: 7.5 Vector:CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 受影响版本排查(受影响/不受影响): 1.master(3.2.8):受影响 2.openEuler-20.03-LTS-SP4(2.5.8):受影响 3.openEuler-22.03-LTS-SP3:受影响 4.openEuler-22.03-LTS-SP4:受影响 5.openEuler-24.03-LTS:受影响 6.openEuler-24.03-LTS-Next:受影响 7.openEuler-24.03-LTS-SP1:受影响 8.openEuler-24.03-LTS-SP2:受影响 修复是否涉及abi变化(是/否): 1.master(3.2.8):否 2.openEuler-20.03-LTS-SP4(2.5.8):否 3.openEuler-22.03-LTS-SP3:否 4.openEuler-22.03-LTS-SP4:否 5.openEuler-24.03-LTS:否 6.openEuler-24.03-LTS-Next:否 7.openEuler-24.03-LTS-SP1:否 8.openEuler-24.03-LTS-SP2:否 原因说明: 1.master(3.2.8):正常修复 2.openEuler-20.03-LTS-SP4(2.5.8):正常修复 3.openEuler-22.03-LTS-SP3:正常修复 4.openEuler-22.03-LTS-SP4:正常修复 5.openEuler-24.03-LTS:正常修复 6.openEuler-24.03-LTS-Next:正常修复 7.openEuler-24.03-LTS-SP1:正常修复 8.openEuler-24.03-LTS-SP2:正常修复 三、漏洞修复 安全公告链接:https://www.openeuler.org/zh/security/safety-bulletin/detail/?id=openEuler-SA-2025-1640
Comments (
7
)
Sign in
to comment
Status
Done
Backlog
已挂起
Doing
Done
Declined
Assignees
Not set
桐小哥
tong_1001
Assignee
Collaborator
+Assign
+Mention
Labels
CVE/FIXED
sig/sig-ruby
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/ruby.git
git@gitee.com:src-openeuler/ruby.git
src-openeuler
ruby
ruby
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register