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.

References[email protected]/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/[email protected]/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/[email protected]/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/


Source: MITRE

Published: 2020-07-01

Updated: 2020-10-06

Type: CWE-20

Risk Information

CVSS v2.0

Base Score: 4

Vector: AV:N/AC:L/Au:S/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 8

Severity: MEDIUM

CVSS v3.0

Base Score: 6.5

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

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM