Resource Exhaustion The advisory has been revoked - it doesn't affect any version of package cmark-gfm  (opens in a new tab)


Threat Intelligence

EPSS
1.04% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-CMARKGFM-5402093
  • published26 Feb 2025
  • disclosed31 Mar 2023

Introduced: 31 Mar 2023

CVE-2023-24824  (opens in a new tab)
CWE-400  (opens in a new tab)
CWE-407  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:22.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream cmark-gfm package and not the cmark-gfm package as distributed by Ubuntu.

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.