Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-42821— github.com/gomarkdown/markdown Out-of-bounds Read while parsing citations

Quick assessment

Affected
gomarkdown markdown
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Markdown是gomarkdown开源的一个用于解析 Markdown 文本并渲染为 HTML 的 Go 库。 gomarkdown/markdown 0.0.0-20230922105210-14b16010c2ee之前版本存在缓冲区错误漏洞,该漏洞源于使用parser.Mmark扩展的解析器解析格式错误的输入时会导致越界读取漏洞。

CVSS 7.5 · High EPSS 1.25% · P69

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-42821

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
github.com/gomarkdown/markdown Out-of-bounds Read while parsing citations
Source: 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 pseudoversion `0.0.0-20230922105210-14b16010c2ee`, which corresponds with commit `14b16010c2ee7ff33a940a541d993bd043a88940`, parsing malformed markdown input with parser that uses parser.Mmark extension could result in out-of-bounds read vulnerability. To exploit the vulnerability, parser needs to have `parser.Mmark` extension set. The panic occurs inside the `citation.go` file on the line 69 when the parser tries to access the element past its length. This can result in a denial of service. Commit `14b16010c2ee7ff33a940a541d993bd043a88940`/pseudoversion `0.0.0-20230922105210-14b16010c2ee` contains a patch for this issue.
Source: 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
Source: CVE Program / CVE List V5
Vulnerability Type
跨界内存读
Source: CVE Program / CVE List V5
Vulnerability Title
Markdown 缓冲区错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Markdown是gomarkdown开源的一个用于解析 Markdown 文本并渲染为 HTML 的 Go 库。 gomarkdown/markdown 0.0.0-20230922105210-14b16010c2ee之前版本存在缓冲区错误漏洞,该漏洞源于使用parser.Mmark扩展的解析器解析格式错误的输入时会导致越界读取漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
gomarkdown markdown < 0.0.0-20230922105210-14b16010c2ee -

II. Public POCs for CVE-2023-42821

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7628 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2023-42821

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

Patches & Fixes for CVE-2023-42821 (1)

Vendor Advisories for CVE-2023-42821 (1)

Other References for CVE-2023-42821 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2023-42821

No comments yet


Leave a comment