What’s Vulnerable › Vulnerabilities

CVE-2020-5238: Denial of service in table parsing in cmark-gfm

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.

Affected products

How to fix

Upgrade to a fixed version: Github Flavored Markdown Project Github Flavored Markdown 0.29.0.gfm.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-5238 or the next vulnerability affects your stack