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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-80213— Ruby Resolv 数字错误漏洞

一分钟漏洞结论

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

Ruby Resolv是Ruby组织的一个用 Ruby 编写的线程感知型 DNS 解析器库。 Ruby Resolv 0.7.2之前版本存在数字错误漏洞,该漏洞源于Resolv::DNS::MessageEncoder在写入DNS标签长度时未检查其范围,可能导致绕过允许列表和出口检查。

CVSS 4.0 · Medium EPSS 0.35% · P27

可能的 ATT&CK 技术 1 AI

T1071 · Application Layer Protocol

影响版本矩阵 2

厂商产品 版本范围状态
Ruby resolv < 0.3.2 affected
0.4.0< 0.7.2 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
N/A
来源: CVE Program / CVE List V5
Vulnerability Description
An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::MessageEncoder wrote a DNS label's length into a single octet without checking its range. A label longer than 255 octets had its length stored modulo 256 but the label data was written unchanged, and thus the bytes on the wire described a different name than the one the application asked to encode. RFC 1035 section 2.3.4 limits a label to 63 octets, and the two high bits of the length octet are reserved for compression pointers. put_string packed the length with put_pack("C", d.length) and put_label used it for labels, and thus any value from 0 to 255 could end up as a label length octet, including the reserved 0x40-0xBF range and the 0xC0-0xFF pointer range. Resolv::DNS::Name.create did not check per-label or total name length either, and thus an attacker-controlled hostname reached the encoder unchanged. An application that resolves an attacker-controlled hostname sends a query whose wire bytes name a domain the attacker chose. A hostname suffix that the application validates against an allowlist becomes padding that never appears on the wire, and thus allowlist and egress checks can be bypassed. The recursive resolver caches the response under the attacker's name, and DNS logs record that name rather than the one the application asked for. A label length whose low octet lands in the 0xC0-0xFF range produces a length octet that conforming parsers read as the start of a compression pointer, with the following attacker-controlled byte as the offset.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
数值截断错误
来源: CVE Program / CVE List V5
Vulnerability Title
Ruby Resolv 数字错误漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Ruby Resolv是Ruby组织的一个用 Ruby 编写的线程感知型 DNS 解析器库。 Ruby Resolv 0.7.2之前版本存在数字错误漏洞,该漏洞源于Resolv::DNS::MessageEncoder在写入DNS标签长度时未检查其范围,可能导致绕过允许列表和出口检查。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Ruby resolv 0 ~ 0.3.2 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

请登录查看更多情报信息。

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

CVE-2026-80213 概念验证 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-80213

暂无评论


发表评论