Bug 1854328 (CVE-2020-5238) - CVE-2020-5238 cmark-gfm: Exponential time to parse certain inputs could lead to DoS
Summary: CVE-2020-5238 cmark-gfm: Exponential time to parse certain inputs could lead ...
Keywords:
Status: NEW
Alias: CVE-2020-5238
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1855805 1865911 1854329
Blocks: 1854330
TreeView+ depends on / blocked
 
Reported: 2020-07-07 08:08 UTC by Marian Rehak
Modified: 2021-02-16 20:12 UTC (History)
1 user (show)

Fixed In Version: ghc-cmark-gfm 0.29.0.gfm.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Marian Rehak 2020-07-07 08:08:18 UTC
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.

Upstream Advisory:

https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85

Comment 1 Marian Rehak 2020-07-07 08:09:03 UTC
Created ghc-cmark-gfm tracking bugs for this issue:

Affects: fedora-all [bug 1854329]


Note You need to log in before you can comment on or make changes to this bug.