Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Github Flavored Markdown Project | Github Flavored Markdown | < 0.29.0.gfm.1 |
| Fedoraproject | Fedora | 31 |
Related Weaknesses (CWE)
References
- https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fecPatchThird Party Advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fecPatchThird Party Advisory
- https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
FAQ
What is CVE-2020-5238?
CVE-2020-5238 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 ...
How severe is CVE-2020-5238?
CVE-2020-5238 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-5238?
Check the references section above for vendor advisories and patch information. Affected products include: Github Flavored Markdown Project Github Flavored Markdown, Fedoraproject Fedora.