{"id":"CVE-2020-5238","published":"2020-07-01T23:05:15Z","modified":"2024-08-04T08:22:09Z","title":"Denial of service in table parsing in cmark-gfm","vendor":"GitHub","product":"cmark-gfm","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01566,"percentile":0.75926,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/","tags":["vendor-advisory","x_refsource_FEDORA"]}],"priority":{"score":19.7,"factors":[{"name":"EPSS percentile","points":15.19},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"github","affectedVersions":[{"vendor":"github","product":"cmark-gfm","versions":["< 0.29.0.gfm.1"]}],"euvd":{"id":"EUVD-2020-26457","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-github-cmark-gfm-cve-2020-5238","children":[{"from":"CVE-2020-5238","to":"CVE-2023-24824","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["extensions/table.c"],"commits":["https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","https://github.com/github/cmark-gfm/commit/2300c1bd2c8226108885bf019655c4159cf26b59"],"basis":"shared function","functions":["try_opening_table_header"]}]}]}}