{"id":"GHSA-xxmq-4vph-956w","aliases":["GHSA-xxmq-4vph-956w"],"related":[],"kind":"vulnerability","state":"published","title":"Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)","summary":"### Impact\n\ncomrak is vulnerable to the upstream cmark issue, [\"Issue revealed by fuzzer\"](https://github.com/commonmark/cmark/issues/354). A large number of references in a markdown document can trigger an overly large response.\n\n### Patches\n\n0.17.0 contains https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a, which limits reference output to a 100Kb maximum.\n\n### Workarounds\n\nn/a\n\n### References\n\n* https://github.com/commonmark/cmark/issues/354","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\ncomrak is vulnerable to the upstream cmark issue, [\"Issue revealed by fuzzer\"](https://github.com/commonmark/cmark/issues/354). A large number of references in a markdown document can trigger an overly large response.\n\n### Patches\n\n0.17.0 contains https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a, which limits reference output to a 100Kb maximum.\n\n### Workarounds\n\nn/a\n\n### References\n\n* https://github.com/commonmark/cmark/issues/354","format":"markdown","source":"ghsa"}],"published":"2023-03-28T14:44:04.000Z","modified":"2023-03-28T14:44:04.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.17.0"}],"ecosystem":"crates.io","package":"comrak","purl":"pkg:cargo/comrak","source":"ghsa"}],"references":[{"url":"https://github.com/kivikakk/comrak/security/advisories/GHSA-xxmq-4vph-956w","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/commonmark/cmark/issues/354","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/kivikakk/comrak","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/kivikakk/comrak/releases/tag/0.17.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xxmq-4vph-956w","url":"https://github.com/advisories/GHSA-xxmq-4vph-956w","licence":"CC-BY-4.0","modified":"2023-03-28T14:44:04.000Z"}],"updatedAt":"2026-11-25T22:56:42.909Z"}