CVE-2020-5238 MEDIUM

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

Vendor Github
Product cmark-gfm
Weakness CWE-20 · Input validation
Published July 1, 2020
Last update August 4, 2024

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 1, 2020 CVE published
August 4, 2024 Record updated