cbcvebase.
CVE-2022-39209
published 2022-09-15

CVE-2022-39209: cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time…

PriorityP334medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
1.64%
73.4th percentile
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension.

Affected

15 ranges
VendorProductVersion rangeFixed in
debiancmark-gfm< cmark-gfm 0.29.0.gfm.6-2 (bookworm)cmark-gfm 0.29.0.gfm.6-2 (bookworm)
debianghostwriter< cmark-gfm 0.29.0.gfm.6-2 (bookworm)cmark-gfm 0.29.0.gfm.6-2 (bookworm)
debianpython-cmarkgfm< cmark-gfm 0.29.0.gfm.6-2 (bookworm)cmark-gfm 0.29.0.gfm.6-2 (bookworm)
debianr-cran-commonmark< cmark-gfm 0.29.0.gfm.6-2 (bookworm)cmark-gfm 0.29.0.gfm.6-2 (bookworm)
debianruby-commonmarker< cmark-gfm 0.29.0.gfm.6-2 (bookworm)cmark-gfm 0.29.0.gfm.6-2 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
githubcmark-gfm< 0.29.0.gfm.60.29.0.gfm.6
githubcmark-gfm>= 0 < 0.29.0.gfm.6-20.29.0.gfm.6-2
githubcmark-gfm>= 0 < 0.29.0.gfm.6-20.29.0.gfm.6-2
githubcmark-gfm>= 0 < 0.29.0.gfm.6-20.29.0.gfm.6-2
githubcmark-gfm>= 0 < 0.29.0.gfm.0-4ubuntu0.1~esm10.29.0.gfm.0-4ubuntu0.1~esm1
githubcmark-gfm>= 0 < 0.29.0.gfm.3-3ubuntu0.1~esm10.29.0.gfm.3-3ubuntu0.1~esm1
githubcmark-gfm>= 0 < 0.29.0.gfm.6-6ubuntu0.24.04.1~esm10.29.0.gfm.6-6ubuntu0.24.04.1~esm1

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv6.5MEDIUM
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.