{"id":"RSEC-2023-6","aliases":["RSEC-2023-6"],"related":["CVE-2020-5238"],"kind":"vulnerability","state":"published","title":"Denial of Service (DoS) vulnerability","summary":"The commonmark package, specifically in its dependency on GitHub Flavored Markdown before version 0.29.0.gfm.1, has a vulnerability related to time complexity. Parsing certain crafted markdown tables can take O(n * n) time, leading to potential Denial of Service attacks. This issue does not affect the upstream cmark project and has been fixed in version 0.29.0.gfm.1.","summaryFormat":"markdown","summarySource":"rsec","descriptions":[{"lang":"en","text":"The commonmark package, specifically in its dependency on GitHub Flavored Markdown before version 0.29.0.gfm.1, has a vulnerability related to time complexity. Parsing certain crafted markdown tables can take O(n * n) time, leading to potential Denial of Service attacks. This issue does not affect the upstream cmark project and has been fixed in version 0.29.0.gfm.1.","format":"markdown","source":"rsec"}],"published":"2023-10-06T05:00:00.600Z","modified":"2025-05-19T19:43:47.903Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0.2","status":"affected","fixed":"1.8"}],"ecosystem":"CRAN","package":"commonmark","purl":"pkg:cran/commonmark","source":"rsec"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2020-5238","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/r-lib/commonmark/issues/13","tags":["web"],"sources":["rsec"]},{"url":"https://github.com/r-lib/commonmark/pull/18","tags":["web"],"sources":["rsec"]}],"credits":[],"sources":[{"source":"rsec","name":"R Consortium Advisory Database","id":"RSEC-2023-6","url":"https://osv.dev/vulnerability/RSEC-2023-6","licence":"Apache-2.0","modified":"2025-05-19T19:43:47.903Z"}],"updatedAt":"2026-11-25T22:56:16.495Z"}