{"id":"GHSA-xxmq-4vph-956w","aliases":[],"status":"published","title":"Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)","description":"### 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","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-03-28T14:44:04Z","modified":"2023-03-28T17:28:01Z","fixes":[{"ecosystem":"crates.io","package":"comrak","fixed_in":["0.17.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"comrak","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.17.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"comrak","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0"}]}]}],"references":[{"url":"https://github.com/kivikakk/comrak/security/advisories/GHSA-xxmq-4vph-956w","tags":["web"]},{"url":"https://github.com/commonmark/cmark/issues/354","tags":["web"]},{"url":"https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a","tags":["web"]},{"url":"https://github.com/kivikakk/comrak/releases/tag/0.17.0","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xxmq-4vph-956w"},{"url":"https://github.com/kivikakk/comrak","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-xxmq-4vph-956w","title":"Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)","description":"### 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","status":"published","published":"2023-03-28T14:44:04Z","modified":"2023-03-28T17:28:01Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T14:36:48.905887Z"}],"osv":[{"id":"GHSA-xxmq-4vph-956w","title":"Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)","description":"### 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","status":"published","published":"2023-03-28T14:44:04Z","modified":"2023-03-28T14:44:04Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:47:00.604718Z"}]}}
