league/commonmark: Quadratic-time denial of service when parsing crafted Markdown
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| thephpleague | commonmark | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Thephpleague | Commonmark |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-2q4p-g7hv-5rgv | league/commonmark: Quadratic-time denial of service when parsing crafted Markdown |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.630% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Thephpleague
Thephpleague commonmark |
|
| Vendors & Products |
Thephpleague
Thephpleague commonmark |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0. | |
| Title | league/commonmark: Quadratic-time denial of service when parsing crafted Markdown | |
| Weaknesses | CWE-1050 CWE-407 |
|
| References |
|
|
| Metrics |
cvssV3_1
|