Algorithmic Complexity Affecting cmark-gfm package, versions <0.29.0.gfm.6-6ubuntu0.24.10.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (31st 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-UBUNTU2410-CMARKGFM-8197903
  • published26 Feb 2025
  • disclosed23 Jan 2023

Introduced: 23 Jan 2023

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

How to fix?

Upgrade Ubuntu:24.10 cmark-gfm to version 0.29.0.gfm.6-6ubuntu0.24.10.1 or higher.

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. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 are subject to a polynomial time complexity issue in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.

CVSS Base Scores

version 3.1