Improper input validation in GitHub Cmark-Gfm
CVE-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 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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.016, 75.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GitHub Cmark-Gfm — versions < 0.29.0.gfm.1
- GitHub Flavored Markdown Project
- Fedoraproject Fedora — versions 31, 32, 33
Weakness classification (CWE)
References
- github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85 (Third Party Advisory)
- github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4 (Patch, Third Party Advisory)
- FEDORA-2020-c39d7a562c (vendor-advisory)
- FEDORA-2020-1eaffe0013 (vendor-advisory)
- FEDORA-2020-fe299b3fa3 (vendor-advisory)