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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-80213

一分钟漏洞结论

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

在 Ruby 的 库 0.7.2 版本之前发现了一个问题: 在写入 DNS 标签长度时,仅使用单个八位组(octet)存储,且未检查其取值范围。当标签长度超过 255 个八位组时,其长度会以模 256 的结果存储,但标签数据本身却原样写入。这导致网络传输中的字节所表示的域名名称与应用程序请求编码的名称不一致。 根据 RFC 1035 第 2.3.4 节,单个标签长度限制为 63 个八位组,而长度八位组的高两位保留用于压缩指针。 方法使用 打包长度, 方法将该值用于标签,因此 0 到 255 范围内的任何值都可能成为

CVSS 4.0 · Medium

可能的 ATT&CK 技术 1 AI

T1071 · Application Layer Protocol
获取后续新漏洞提醒 登录后订阅

一、 漏洞 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

受影响产品

厂商 产品 影响版本 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

暂无评论


发表评论