CVE-2022-39209

EUVD-2022-41748
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
NISTPrimary
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
Base Score
CVSS 3.x
EPSS Score
Percentile: 79%
Affected Products (NVD)
VendorProductVersion
githubcmark-gfm
𝑥
< 0.29.0.gfm.6
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
cmark-gfm
bookworm
0.29.0.gfm.6-6
no-dsa
bullseye
no-dsa
buster
no-dsa
sid
0.29.0.gfm.6-6
fixed
trixie
0.29.0.gfm.6-6
fixed
ghostwriter
bookworm
2.1.6+ds-2
no-dsa
bullseye
no-dsa
buster
no-dsa
sid
23.04.3+ds-1
fixed
trixie
23.04.3+ds-1
fixed
python-cmarkgfm
bookworm
no-dsa
bullseye
no-dsa
buster
no-dsa
sid
vulnerable
trixie
vulnerable
r-cran-commonmark
bookworm
1.8.1-1
no-dsa
bullseye
no-dsa
buster
no-dsa
sid
1.9.2-1
fixed
trixie
1.9.1-1
fixed
ruby-commonmarker
bookworm
no-dsa
bullseye
no-dsa
buster
no-dsa
sid
vulnerable
trixie
vulnerable
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
cmark-gfm
bionic
dne
focal
needs-triage
jammy
needs-triage
kinetic
ignored
lunar
ignored
mantic
ignored
noble
needs-triage
trusty
ignored
xenial
ignored