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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2024-58382— league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity

Quick assessment

Affected
thephpleague commonmark
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.

league/commonmark 2.6.0 之前的版本存在多项漏洞,其 Markdown 解析过程中存在多项式时间复杂度的缺陷,攻击者可借此引发拒绝服务(DoS)攻击。攻击者可以提交精心构造的 Markdown 输入,以触发最坏情况下的性能瓶颈;同时,并行发送多个请求会耗尽 CPU 资源和 PHP-FPM 进程,从而导致服务不可用。

CVSS 7.5 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-58382

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
league/commonmark before 2.6.0 Denial of Service via Quadratic Complexity
Source: CVE Program / CVE List V5
Vulnerability Description
league/commonmark versions before 2.6.0 contain polynomial time complexity vulnerabilities in Markdown parsing that allow attackers to cause denial of service. Attackers can submit carefully crafted Markdown inputs designed to trigger worst-case performance, and sending multiple requests in parallel exhausts CPU resources and PHP-FPM processes.
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

Affected Products

Vendor Product Affected Versions CPE Subscribe
thephpleague commonmark 0 ~ 2.6.0 -

II. Public POCs for CVE-2024-58382

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-58382

登录查看更多情报信息。

Other References for CVE-2024-58382 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2024-58382

No comments yet


Leave a comment