High severity · published Mar 31, 2023
CVE-2023-24824
Quadratic complexity may lead to a denial of service in cmark-gfm
7.5
CVSS
1%
EPSS
No
On KEV
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. A polynomial time complexity issue in cmark-gfm may lead to unbounded resource exhaustion and subsequent denial of service. This CVE covers quadratic complexity issues when parsing text which leads with either large numbers of `>` or `-` characters. This issue has been addressed in version 0.29.0.gfm.10. Users are advised to upgrade. Users unable to upgrade should validate that their input comes from trusted sources.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CM
cmark-gfm · github
< 0.29.0.gfm.10 · source: vendor, NVD
Affected product
CM
cmark-gfm
github
More from cmark-gfm
9.8
CVE-2024-22051
CommonMarker Integer Overflow Vulnerability
9.8
CVE-2022-24724
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark
7.5
CVE-2023-37463
Quadratic complexity bugs may lead to a denial of service
7.5
CVE-2023-26485
Quadratic complexity may lead to a denial of service in cmark-gfm
7.5
CVE-2023-22486
cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service