{"id":"GHSA-48wp-p9qv-4j64","aliases":["GHSA-48wp-p9qv-4j64"],"related":[],"kind":"vulnerability","state":"published","title":"Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service","summary":"## Impact\n\nSeveral quadratic complexity bugs in commonmarker's underlying [`cmark-gfm`](https://github.com/github/cmark-gfm) library may lead to unbounded resource exhaustion and subsequent denial of service.\n\nThe following vulnerabilities were addressed:\n\n* [CVE-2023-24824](https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh)\n* [CVE-2023-26485](https://github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5)\n\nFor more information, consult the release notes for version [`0.23.0.gfm.10`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.10) and [`0.23.0.gfm.11`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.11).\n\n## Mitigation\n\nUsers are advised to upgrade to commonmarker version [`0.23.9`](https://rubygems.org/gems/commonmarker/versions/0.23.9).","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"## Impact\n\nSeveral quadratic complexity bugs in commonmarker's underlying [`cmark-gfm`](https://github.com/github/cmark-gfm) library may lead to unbounded resource exhaustion and subsequent denial of service.\n\nThe following vulnerabilities were addressed:\n\n* [CVE-2023-24824](https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh)\n* [CVE-2023-26485](https://github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5)\n\nFor more information, consult the release notes for version [`0.23.0.gfm.10`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.10) and [`0.23.0.gfm.11`](https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.11).\n\n## Mitigation\n\nUsers are advised to upgrade to commonmarker version [`0.23.9`](https://rubygems.org/gems/commonmarker/versions/0.23.9).","format":"markdown","source":"ghsa"}],"published":"2023-04-11T22:08:18.000Z","modified":"2024-12-04T05:41:10.781Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.9"}],"ecosystem":"RubyGems","package":"commonmarker","purl":"pkg:gem/commonmarker","source":"ghsa"}],"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-48wp-p9qv-4j64","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gjtorikian/commonmarker/pull/236","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.10","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.11","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/gjtorikian/commonmarker","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/gjtorikian/commonmarker/releases/tag/v0.23.9","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-48wp-p9qv-4j64","url":"https://github.com/advisories/GHSA-48wp-p9qv-4j64","licence":"CC-BY-4.0","modified":"2024-12-04T05:41:10.781Z"}],"updatedAt":"2026-11-25T22:56:41.127Z"}