{"id":"GHSA-xxmq-4vph-956w","summary":"Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)","details":"### 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","modified":"2023-03-28T14:44:04Z","published":"2023-03-28T14:44:04Z","database_specific":{"github_reviewed_at":"2023-03-28T14:44:04Z","nvd_published_at":null,"cwe_ids":[],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/kivikakk/comrak/security/advisories/GHSA-xxmq-4vph-956w"},{"type":"WEB","url":"https://github.com/commonmark/cmark/issues/354"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a"},{"type":"PACKAGE","url":"https://github.com/kivikakk/comrak"},{"type":"WEB","url":"https://github.com/kivikakk/comrak/releases/tag/0.17.0"}],"affected":[{"package":{"name":"comrak","ecosystem":"crates.io","purl":"pkg:cargo/comrak"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-xxmq-4vph-956w/GHSA-xxmq-4vph-956w.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}