CVE-2023-24824 MEDIUM

CVE-2023-24824: Quadratic complexity may lead to a denial of service in cmark-gfm

Vendor Github
Product cmark-gfm
Weakness CWE-400
Published March 31, 2023
Last update February 11, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 31, 2023 CVE published
February 11, 2025 Record updated