目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-47240— Ruby net-imap 命令注入漏洞

一分钟漏洞结论

影响对象
ruby net-imap
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Ruby net-imap是Ruby的邮件客户端协议库。 Ruby net-imap存在命令注入漏洞,该漏洞源于“raw data”参数验证后直接发送,可能允许在非同步字面量中注入任意IMAP命令,导致CRLF命令注入攻击。

AI 预测 9.1 利用难度: 较易 EPSS 0.49% · P40

影响版本矩阵 2

厂商产品 版本范围状态
ruby net-imap >= 0.6.0, < 0.6.4.1 affected
< 0.5.15 affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-47240 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Net::IMAP: Command Injection via non-synchronizing literal in "raw" argument
来源: CVE Program / CVE List V5
Vulnerability Description
Net::IMAP implements Internet Message Access Protocol (IMAP) client functionality in Ruby. Prior to 0.6.5 and 0.5.15, several Net::IMAP commands accept a "raw data" argument that is sent verbatim after validation to prevent command injection. However, if a server does not support non-synchronizing literals, it may still be possible to inject arbitrary IMAP commands inside non-synchronizing literals. A server without support for non-synchronizing literals may interpret the "+}\r\n" as the end of a malformed command line and respond with a tagged BAD. In that case, the contents of the literal will be interpreted as one or more new pipelined commands, allowing a CRLF command injection attack to succeed. This affects criteria for #search and #uid_search; search_keys for #sort, #thread, #uid_sort, and #uid_thread; and attr for #fetch and #uid_fetch. This vulnerability is fixed in 0.6.5 and 0.5.15.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N
来源: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Ruby net-imap 命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Ruby net-imap是Ruby的邮件客户端协议库。 Ruby net-imap存在命令注入漏洞,该漏洞源于“raw data”参数验证后直接发送,可能允许在非同步字面量中注入任意IMAP命令,导致CRLF命令注入攻击。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
ruby net-imap >= 0.6.0, < 0.6.4.1 -

二、漏洞 CVE-2026-47240 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-47240 的情报信息

登录查看更多情报信息。

CVE-2026-47240 厂商安全公告 (1)

同批安全公告 · ruby · 2026-06-22 · 共 3 条

CVE-2026-47242 Ruby net-imap 命令注入漏洞
CVE-2026-47241 Ruby net-imap 输入验证错误漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-47240

暂无评论


发表评论