CVE-2020-5238
Medium
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.
SeverityMedium
CVSS6.5
Exploit probability—
Product
Github Flavored Markdown
PublishedJul 1, 2020
First seenJul 1, 2020
Weakness typeCWE-20Improper input validation
How to fix
Update
- github_flavored_markdown_project github_flavored_markdown0.29.0.gfm.1 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github_flavored_markdown_project github_flavored_markdown | v < 0.29.0.gfm.1 | 0.29.0.gfm.1 |
| fedoraproject fedora | 31, 32, 33 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.