CVE-2022-39209

  • Severity 6.5 MEDIUM
  • Published
  • Updated
  • Status Modified
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
6.5 MEDIUM
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Base Score
CVSS 3.1
EPSS Score
Percentile: 84.75%
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
jessie
unimportant
sid
23.04.3+ds-1
fixed
stretch
unimportant
trixie
23.04.3+ds-1
fixed
wheezy
unimportant
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