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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-102941— gomarkdown/markdown 短 URL 拒绝服务漏洞

一分钟漏洞结论

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

是一个用于解析 Markdown 文本并将其渲染为 HTML 的 Go 库。在版本 之前, 文件中的 函数在执行 的边界检查之前,就尝试对 进行切片操作。当目标 URL 较短时,若循环处理到某个相对路径前缀且满足 以及 的条件,就会触发切片越界恐慌(panic)。单字节目标路径 是一个明确的非恐慌反例,因为它匹配第一个有效路径并在尝试对更长前缀进行切片之前直接返回。在所述条件下,已证实会触发恐慌的目标包括空字符串、 和 。该恐慌在以下场景可达:当 在启用 选项时渲染不可信的 Markdown 内容(其中包含空链接目

CVSS 7.5 · High

影响版本矩阵 1

厂商产品 版本范围状态
gomarkdown markdown < 0.0.0-20260724235538-61af6e1e6971 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
gomarkdown/markdown IsSafeURL panics on short URLs
来源: CVE Program / CVE List V5
Vulnerability Description
The package github.com/gomarkdown/markdown is a Go library for parsing Markdown text and rendering as HTML. Prior to 0.0.0-20260724235538-61af6e1e6971, parser.IsSafeURL in parser/parser.go slices url[:nPath] before the len(url) >= nPath guard. A short destination causes a slice-bounds panic when the loop reaches a relative-path prefix for which len(url) < nPath and cap(url) < nPath. The one-byte destination / is an explicit non-panic counterexample because it matches the first valid path and returns before a longer prefix is sliced. Demonstrated panic cases include empty, ., and .. destinations under those conditions. The panic is reachable when markdown.ToHTML renders untrusted Markdown with html.Safelink enabled, including an empty link destination, and is also reachable by callers that pass a short attacker-controlled URL directly to the exported parser.IsSafeURL function. An uncaught panic can terminate the calling process and cause denial of service. This issue is fixed in 0.0.0-20260724235538-61af6e1e6971.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
gomarkdown markdown < 0.0.0-20260724235538-61af6e1e6971 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

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

CVE-2026-102941 补丁与修复 (1)

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-102941

暂无评论


发表评论