{"id":"GHSA-48wp-p9qv-4j64","aliases":[],"status":"published","title":"Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service","description":"## 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).","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-04-11T22:08:18Z","modified":"2024-12-04T05:41:10Z","fixes":[{"ecosystem":"RubyGems","package":"commonmarker","fixed_in":["0.23.9"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"commonmarker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.9"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"commonmarker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.23.9"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.2","0.1.3","0.10.0","0.11.0","0.12.0","0.13.0","0.14.0","0.14.1","0.14.11","0.14.12","0.14.13","0.14.14","0.14.15","0.14.2","0.14.3","0.14.4","0.14.5","0.14.6","0.14.7","0.14.8","0.14.9","0.15.0","0.16.0","0.16.1","0.16.2","0.16.3","0.16.4","0.16.5","0.16.6","0.16.7","0.16.8","0.17.0","0.17.1","0.17.10","0.17.11","0.17.12","0.17.13","0.17.2","0.17.4","0.17.5","0.17.6","0.17.7","0.17.7.1","0.17.8","0.17.9","0.18.0","0.18.1","0.18.2","0.19.0","0.2.0","0.2.1","0.20.0","0.20.1","0.20.2","0.21.0","0.21.1","0.21.2","0.22.0","0.23.0","0.23.1","0.23.2","0.23.4","0.23.5","0.23.6","0.23.7","0.23.7.pre1","0.23.8","0.3.0","0.4.0","0.4.1","0.5.0","0.5.1","0.6.0","0.7.0","0.8.0","0.9.0","0.9.1","0.9.2"]}],"references":[{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh","tags":["web"]},{"url":"https://github.com/github/cmark-gfm/security/advisories/GHSA-r8vr-c48j-fcc5","tags":["web"]},{"url":"https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-48wp-p9qv-4j64","tags":["web"]},{"url":"https://github.com/gjtorikian/commonmarker/pull/236","tags":["web"]},{"url":"https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.10","tags":["web"]},{"url":"https://github.com/github/cmark-gfm/releases/tag/0.29.0.gfm.11","tags":["web"]},{"url":"https://github.com/gjtorikian/commonmarker/releases/tag/v0.23.9","tags":["web"]},{"url":"https://github.com/advisories/GHSA-48wp-p9qv-4j64"},{"url":"https://github.com/gjtorikian/commonmarker","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-48wp-p9qv-4j64","title":"Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service","description":"## 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).","status":"published","published":"2023-04-11T22:08:18Z","modified":"2023-04-11T22:08:19Z","updated_at":"2026-11-02T14:36:50.476488Z"}],"osv":[{"id":"GHSA-48wp-p9qv-4j64","title":"Commonmarker vulnerable to to several quadratic complexity bugs that may lead to denial of service","description":"## 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).","status":"published","published":"2023-04-11T22:08:18Z","modified":"2024-12-04T05:41:10.781623Z","updated_at":"2026-11-02T15:46:36.782754Z"}]}}
