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 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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub_MCNA
7.5 HIGH
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 78%
VendorProductVersion
githubcmark-gfm
𝑥
< 0.29.0.gfm.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
cmark-gfm
bullseye
no-dsa
bookworm
0.29.0.gfm.6-6
no-dsa
buster
no-dsa
sid
0.29.0.gfm.6-6
fixed
trixie
0.29.0.gfm.6-6
fixed
ghostwriter
bullseye
no-dsa
bookworm
2.1.6+ds-2
no-dsa
buster
no-dsa
sid
23.04.3+ds-1
fixed
trixie
23.04.3+ds-1
fixed
python-cmarkgfm
bullseye
no-dsa
bookworm
no-dsa
buster
no-dsa
sid
vulnerable
trixie
vulnerable
r-cran-commonmark
bullseye
no-dsa
bookworm
1.8.1-1
no-dsa
buster
no-dsa
trixie
1.9.1-1
fixed
sid
1.9.2-1
fixed
ruby-commonmarker
bullseye
no-dsa
bookworm
no-dsa
buster
no-dsa
sid
vulnerable
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
cmark-gfm
noble
needs-triage
mantic
ignored
lunar
ignored
kinetic
ignored
jammy
needs-triage
focal
needs-triage
bionic
dne
xenial
ignored
trusty
ignored