CVE-2020-5238
published 2020-07-01CVE-2020-5238: The 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…
PriorityP431medium6.5CVSS 3.1
AVNACLPRLUINSUCNINAH
EPSS
1.57%
72.2th percentile
The 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.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | cmark-gfm | < cmark-gfm 0.29.0.gfm.2-1 (bookworm) | cmark-gfm 0.29.0.gfm.2-1 (bookworm) |
| debian | haskell-cmark-gfm | < cmark-gfm 0.29.0.gfm.2-1 (bookworm) | cmark-gfm 0.29.0.gfm.2-1 (bookworm) |
| debian | python-cmarkgfm | < cmark-gfm 0.29.0.gfm.2-1 (bookworm) | cmark-gfm 0.29.0.gfm.2-1 (bookworm) |
| debian | r-cran-commonmark | < cmark-gfm 0.29.0.gfm.2-1 (bookworm) | cmark-gfm 0.29.0.gfm.2-1 (bookworm) |
| debian | ruby-commonmarker | < cmark-gfm 0.29.0.gfm.2-1 (bookworm) | cmark-gfm 0.29.0.gfm.2-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| github | cmark-gfm | < 0.29.0.gfm.1 | 0.29.0.gfm.1 |
| github | cmark-gfm | >= 0 < 0.29.0.gfm.2-1 | 0.29.0.gfm.2-1 |
| github | cmark-gfm | >= 0 < 0.29.0.gfm.2-1 | 0.29.0.gfm.2-1 |
| github | cmark-gfm | >= 0 < 0.29.0.gfm.2-1 | 0.29.0.gfm.2-1 |
| github_flavored_markdown_project | github_flavored_markdown | < 0.29.0.gfm.1 | 0.29.0.gfm.1 |
CVSS provenance
nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:N/I:N/A:P
osv6.5MEDIUM
vendor_debian6.5MEDIUM
vendor_redhat6.5MEDIUM
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.
OSV
CVE-2020-5238: The table extension in GitHub Flavored Markdown before version 0
osv·2020-07-01·CVSS 6.5
CVE-2020-5238 [MEDIUM] CVE-2020-5238: The table extension in GitHub Flavored Markdown before version 0
The 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.
Red Hat
cmark-gfm: Exponential time to parse certain inputs could lead to DoS
vendor_redhat·2020-07-01·CVSS 6.5
CVE-2020-5238 [MEDIUM] CWE-20 cmark-gfm: Exponential time to parse certain inputs could lead to DoS
cmark-gfm: Exponential time to parse certain inputs could lead to DoS
The 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.
Debian
CVE-2020-5238: cmark-gfm - The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 take...
vendor_debian·2020·CVSS 6.5
CVE-2020-5238 [MEDIUM] CVE-2020-5238: cmark-gfm - The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 take...
The 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.
Scope: local
bookworm: resolved (fixed in 0.29.0.gfm.2-1)
bullseye: open
forky: resolved (fixed in 0.29.0.gfm.2-1)
sid: resolved (fixed in 0.29.0.gfm.2-1)
trixie: resolved (fixed in 0.29.0.gfm.2-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-5238 cmark-gfm: Exponential time to parse certain inputs could lead to DoS
bugzilla·2020-07-07·CVSS 6.5
CVE-2020-5238 [MEDIUM] CVE-2020-5238 cmark-gfm: Exponential time to parse certain inputs could lead to DoS
CVE-2020-5238 cmark-gfm: Exponential time to parse certain inputs could lead to DoS
The 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.
Upstream Advisory:
https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85
Discussion:
Created ghc-cmark-gfm tracking bugs for this issue:
Affects: fedora-all [bug 1854329]
---
Patch:
https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 8
Via RHSA-2021:1972 https://
Bugzilla
CVE-2020-5238 ghc-cmark-gfm: cmark: Exponential time to parse certain inputs could lead to DoS. [fedora-all]
bugzilla·2020-07-07·CVSS 6.5
CVE-2020-5238 [MEDIUM] CVE-2020-5238 ghc-cmark-gfm: cmark: Exponential time to parse certain inputs could lead to DoS. [fedora-all]
CVE-2020-5238 ghc-cmark-gfm: cmark: Exponential time to parse certain inputs could lead to DoS. [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/
2020-07-01
Published