CVE-2023-22483
JSON

3.5low

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

Severity
3.5low CVSS:3.1 by GitHub_M
Exploit likelihood
1.15% (higher than 67% of CVEs)
Published
Last changed
Assigned by
GitHub_M

Description

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 several polynomial time complexity issues in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denial of service. Various commands, when piped to cmark-gfm with large values, cause the running time to increase quadratically. These vulnerabilities have been patched in version 0.29.0.gfm.7.

Affected

Product or packageVersionsReported by
github cmark-gfm< 0.29.0.gfm.7, before 0.29.0.gfm.7CVE List, NVD

All scores

GitHub_M3.5low CVSS:3.1CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-407

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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 several polynomial time complexity issues in cmark-gfm that may lead to unbounded resource exhaustion and subsequent denial of service. Various commands, when piped to cmark-gfm with large values, cause the running time to increase quadratically. These vulnerabilities have been patched in version 0.29.0.gfm.7.

NVD (es)

cmark-gfm es la bifurcación de GitHub de cmark, una librería y programa de análisis y representación de CommonMark en C. Las versiones anteriores a 0.29.0.gfm.7 están sujetas a varios problemas de complejidad de tiempo polinomial en cmark-gfm que pueden provocar un agotamiento ilimitado de los recursos y posterior denegación del servicio. Varios comandos, cuando se canalizan a cmak-gfm con valores grandes, hacen que el tiempo de ejecución aumente cuadráticamente. Estas vulnerabilidades se han solucionado en la versión 0.29.0.gfm.7.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-22483 changed 2025-03-10CVE Terms of Use
NVDCVE-2023-22483 changed 2026-06-17Public domain