CVE-2020-5238
MEDIUM 6.5CVSS 3.1Denial of Service (DoS) vulnerability
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.
- Published
- 1 Jul 2020
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- RSEC-2023-6
- Sources
- NVDJSONOSV RSEC-2023-6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | github_flavored_markdown_project | github_flavored_markdowncpe:2.3:a:github_flavored_markdown_project:github_flavored_markdown:*:*:*:*:*:*:*:* |
< 0.29.0.gfm.1 | 0.29.0.gfm.1 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* |
= 31 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* |
= 33 | |
| OSV | CRAN | commonmark | >= 0.2, < 1.8 | 1.8 |
References
- https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4 · Patch, Third Party Advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85 · Third Party Advisory
- https://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://security-tracker.debian.org/tracker/CVE-2020-5238 · WEB
- https://github.com/r-lib/commonmark/issues/13 · WEB
- https://github.com/r-lib/commonmark/pull/18 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Jul 2020)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Oct 2023)