{"api_version":"1","generated_at":"2026-07-23T14:29:55+00:00","cve":"CVE-2020-5238","urls":{"html":"https://cve.report/CVE-2020-5238","api":"https://cve.report/api/cve/CVE-2020-5238.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-5238","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-5238"},"summary":{"title":"CVE-2020-5238","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2020-07-01 23:15:00","updated_at":"2023-11-07 03:23:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/","name":"FEDORA-2020-1eaffe0013","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: pandoc-2.7.3-4.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","name":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Merge pull request from GHSA-7gc6-9qr5-hc85 · github/cmark-gfm@85d8952 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","refsource":"CONFIRM","tags":["Third Party Advisory"],"title":"Denial of service in table parsing · Advisory · github/cmark-gfm · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/","name":"FEDORA-2020-c39d7a562c","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: pandoc-citeproc-0.17.0.1-3.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/","name":"FEDORA-2020-fe299b3fa3","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 31 Update: ghc-cmark-gfm-0.2.2-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/","name":"FEDORA-2020-fe299b3fa3","refsource":"","tags":[],"title":"[SECURITY] Fedora 31 Update: ghc-cmark-gfm-0.2.2-1.fc31 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/","name":"FEDORA-2020-1eaffe0013","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: pandoc-2.7.3-4.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/","name":"FEDORA-2020-c39d7a562c","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 33 Update: pandoc-citeproc-0.17.0.1-3.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-5238","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-5238","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"5238","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"31","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5238","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5238","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5238","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github_flavored_markdown_project","cpe5":"github_flavored_markdown","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"5238","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"github_flavored_markdown_project","cpe5":"github_flavored_markdown","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-5238","qid":"940402","title":"AlmaLinux Security Update for pandoc (ALSA-2021:1972)"},{"cve":"CVE-2020-5238","qid":"960207","title":"Rocky Linux Security Update for pandoc (RLSA-2021:1972)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2020-5238","STATE":"PUBLIC","TITLE":"Denial of service in table parsing in cmark-gfm"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"cmark-gfm","version":{"version_data":[{"version_value":"< 0.29.0.gfm.1"}]}}]},"vendor_name":"github"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85","refsource":"CONFIRM","url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85"},{"name":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4","refsource":"MISC","url":"https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4"},{"refsource":"FEDORA","name":"FEDORA-2020-c39d7a562c","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/"},{"refsource":"FEDORA","name":"FEDORA-2020-1eaffe0013","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/"},{"refsource":"FEDORA","name":"FEDORA-2020-fe299b3fa3","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/"}]},"source":{"advisory":"GHSA-7gc6-9qr5-hc85","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2020-07-01 23:15:00","lastModifiedDate":"2023-11-07 03:23:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:github_flavored_markdown_project:github_flavored_markdown:*:*:*:*:*:*:*:*","versionEndExcluding":"0.29.0.gfm.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"5238","Ordinal":"165452","Title":"CVE-2020-5238","CVE":"CVE-2020-5238","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"5238","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"5238","Ordinal":"2","NoteData":"2020-07-01","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"5238","Ordinal":"3","NoteData":"2020-10-06","Type":"Other","Title":"Modified"}]}}}