CVE-2020-5238

NameCVE-2020-5238
DescriptionThe table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inputs. An attacker could craft a markdown table which would take an unreasonably long time to process, causing a denial of service. This issue does not affect the upstream cmark project. The issue has been fixed in version 0.29.0.gfm.1.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs965980, 965981, 965982, 965983, 965984

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cmark-gfm (PTS)buster0.28.3.gfm.19-3vulnerable
bullseye0.29.0.gfm.0-6vulnerable
bookworm, sid0.29.0.gfm.6-2.1fixed
haskell-cmark-gfm (PTS)buster0.1.5-2vulnerable
bullseye0.2.1+ds1-1fixed
bookworm, sid0.2.5+ds1-1fixed
python-cmarkgfm (PTS)buster, bullseye0.4.2-1vulnerable
bookworm, sid0.8.0-3vulnerable
r-cran-commonmark (PTS)buster1.7-1vulnerable
bullseye1.7-2vulnerable
bookworm, sid1.8.1-1fixed
ruby-commonmarker (PTS)buster0.17.9-1vulnerable
bullseye0.21.0-1fixed
bookworm, sid0.23.6-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cmark-gfmsource(unstable)0.29.0.gfm.2-1965984
haskell-cmark-gfmsource(unstable)0.2.1+ds1-1965982
python-cmarkgfmsource(unstable)(unfixed)965983
r-cran-commonmarksource(unstable)1.8.0-1965980
ruby-commonmarkersource(unstable)0.21.0-1965981

Notes

[bullseye] - cmark-gfm <no-dsa> (Minor issue)
[buster] - cmark-gfm <no-dsa> (Minor issue)
[bullseye] - python-cmarkgfm <no-dsa> (Minor issue)
[buster] - python-cmarkgfm <no-dsa> (Minor issue)
[buster] - ruby-commonmarker <no-dsa> (Minor issue)
[buster] - haskell-cmark-gfm <no-dsa> (Minor issue)
[bullseye] - r-cran-commonmark <no-dsa> (Minor issue)
[buster] - r-cran-commonmark <no-dsa> (Minor issue)
https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85
https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4
haskell-cmark-gfm switched to src:cmark-gfm in 0.2.1+ds1-1, marking that as fixed (despite cmark-gfm not fixed yet)

Search for package or bug name: Reporting problems