Resource exhaustion in Github Cmark-Gfm

CVE-2023-24824

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.

Vulnerability class: DoS (Denial of Service)

EPSS: 0.010 (60.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2023-24824?
CVE-2023-24824 is a medium-severity vulnerability in Github Cmark-Gfm, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2023-03-31.
How severe is CVE-2023-24824?
Medium severity. CVSS v3 base score is 5.3 out of 10.