CVE-2023-24824

Quadratic complexity may lead to a denial of service in cmark-gfm

Published Mar 31, 2023 CVSS 3.1 · 5.3 Medium EPSS 1.0% KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-28818 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00416}

epss

{'score': 0.00347}

Type Values Removed Values Added
Metrics epss

{'score': 0.00463}

epss

{'score': 0.00416}

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8::crb
Vendors & Products Redhat
Redhat enterprise Linux
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-407

    Inefficient Algorithmic Complexity

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 11, 2025, 5:19 PM
Reserved
Jan 30, 2023, 2:43 PM
Status
Modified
Published
Mar 31, 2023, 11:15 PM
Modified
Jun 17, 2026, 5:39 AM
Severity
Moderate
Public date
Apr 1, 2023, 12:00 AM