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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-39209— Uncontrolled Resource Consumption in cmark-gfm

Quick assessment

Affected
github cmark-gfm
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

cmark-gfm是CommonMark的 C 参考实现的扩展版本,是带有规范的 Markdown 语法的合理化版本。 cmark-gfm 0.29.0.gfm.6 之前版本存在资源管理错误漏洞,该漏洞源于自动链接扩展中的多项式时间复杂度问题,可能导致无限资源耗尽和后续的拒绝服务。

CVSS 7.5 · High EPSS 1.71% · P76

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39209

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
Uncontrolled Resource Consumption in cmark-gfm
Source: CVE Program / CVE List V5
Vulnerability Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension.
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
cmark-gfm 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
cmark-gfm是CommonMark的 C 参考实现的扩展版本,是带有规范的 Markdown 语法的合理化版本。 cmark-gfm 0.29.0.gfm.6 之前版本存在资源管理错误漏洞,该漏洞源于自动链接扩展中的多项式时间复杂度问题,可能导致无限资源耗尽和后续的拒绝服务。
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
github cmark-gfm < 0.29.0.gfm.6 -

II. Public POCs for CVE-2022-39209

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39209

登录查看更多情报信息。

Patches & Fixes for CVE-2022-39209 (1)

Vendor Advisories for CVE-2022-39209 (1)

Mailing List Discussions for CVE-2022-39209 (3)

Other References for CVE-2022-39209 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2022-39209

No comments yet


Leave a comment