CVE Catalog

CVE-2024-58382

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.28%

20th percentile - higher than 20% of all known CVEs

Summary

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.

Risk Assessment

The risk includes unavailability of web services using this library. An attacker can overload the server, causing application downtime.

Recommendation

It is recommended to upgrade league/commonmark to version 2.6.0 or later. Also consider limiting the size of submitted Markdown and implementing request rate limits.

Other vulnerabilities in league/commonmark

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS