{"schemaVersion":3,"id":"CVE-2020-5238","aliases":["RHSA-2021:1972","UBUNTU-CVE-2020-5238","DEBIAN-CVE-2020-5238"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2020-07-01T23:05:15.000Z","modified":"2024-08-04T08:22:09.078Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Red hat","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":4,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01566,"percentile":0.74971,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01566},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01566,"percentile":0.74971}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01566,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01566,"percentile":0.74971}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"cmark-gfm","name":"cmark-gfm","label":"cmark-gfm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/cmark-gfm","purlType":"deb","versions":[{"text":"< 0.29.0.gfm.2-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.29.0.gfm.2-1","eol":null,"hubHref":null},{"vendor":"debian","product":"haskell-cmark-gfm","name":"haskell-cmark-gfm","label":"haskell-cmark-gfm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/haskell-cmark-gfm","purlType":"deb","versions":[{"text":"< 0.2.1+ds1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.2.1+ds1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"python-cmarkgfm","name":"python-cmarkgfm","label":"python-cmarkgfm","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-cmarkgfm","purlType":"deb","versions":[{"text":"< 0.7.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.7.0-1","eol":null,"hubHref":null},{"vendor":"debian","product":"r-cran-commonmark","name":"r-cran-commonmark","label":"r-cran-commonmark","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/r-cran-commonmark","purlType":"deb","versions":[{"text":"< 1.8.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.8.0-1","eol":null,"hubHref":null},{"vendor":"debian","product":"ruby-commonmarker","name":"ruby-commonmarker","label":"ruby-commonmarker","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-commonmarker","purlType":"deb","versions":[{"text":"< 0.21.0-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.21.0-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"cmark-gfm","name":"cmark-gfm","label":"cmark-gfm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/cmark-gfm","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"haskell-cmark-gfm","name":"haskell-cmark-gfm","label":"haskell-cmark-gfm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/haskell-cmark-gfm","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-cmarkgfm","name":"python-cmarkgfm","label":"python-cmarkgfm","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-cmarkgfm","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"r-cran-commonmark","name":"r-cran-commonmark","label":"r-cran-commonmark","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/r-cran-commonmark","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-commonmarker","name":"ruby-commonmarker","label":"ruby-commonmarker","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-commonmarker","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"31","noFixRecorded":false,"fixedIn":null},{"text":"32","noFixRecorded":false,"fixedIn":null},{"text":"33","noFixRecorded":false,"fixedIn":null}],"versionsText":"31 | 32 | 33","eol":{"isEol":true,"eolDate":"2020-11-24T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"31","label":"31","eolFrom":"2020-11-24T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"github_flavored_markdown_project","product":"github_flavored_markdown","name":"github flavored markdown","label":"github_flavored_markdown","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.29.0.gfm.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.29.0.gfm.1","eol":null,"hubHref":"/vendor/github_flavored_markdown_project/github_flavored_markdown"},{"vendor":"github","product":"cmark-gfm","name":"cmark-gfm","label":"cmark-gfm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.29.0.gfm.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.29.0.gfm.1","eol":null,"hubHref":"/vendor/github/cmark-gfm"},{"vendor":"redhat","product":"pandoc","name":"pandoc","label":"pandoc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pandoc","purlType":"rpm","versions":[{"text":"< 0:2.0.6-5.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.6-5.el8","eol":null,"hubHref":null},{"vendor":"redhat","product":"pandoc-common","name":"pandoc-common","label":"pandoc-common","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/pandoc-common","purlType":"rpm","versions":[{"text":"< 0:2.0.6-5.el8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.0.6-5.el8","eol":null,"hubHref":null}],"affectedCount":15,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","label":"github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","Third Party Advisory"]},{"url":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","label":"github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://access.redhat.com/errata/RHSA-2021:1972","label":"access.redhat.com/errata/RHSA-2021:1972","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/","label":"access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.4_release_notes/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1854328","label":"bugzilla.redhat.com/show_bug.cgi?id=1854328","hostname":"bugzilla.redhat.com","tags":["REPORT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1972.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_1972.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2020-5238","label":"access.redhat.com/security/cve/CVE-2020-5238","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5238","label":"www.cve.org/CVERecord?id=CVE-2020-5238","hostname":"www.cve.org","tags":["Advisory","REPORT"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5238","label":"nvd.nist.gov/vuln/detail/CVE-2020-5238","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-5238","label":"ubuntu.com/security/CVE-2020-5238","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-5238","label":"security-tracker.debian.org/tracker/CVE-2020-5238","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-07-01T23:05:15.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T08:22:09.078Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T02:38:53.009Z","stale":false,"partial":false}}