{"id":"GHSA-xxmq-4vph-956w","aliases":[],"url":"https://o3.security/vulnerability/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","published":"2023-03-28T14:44:04Z","modified":"2023-03-28T14:44:04Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"comrak","fixedVersion":"0.17.0"}],"fix":{"url":"https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a","label":"kivikakk/comrak@70f97f3"},"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"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-03-28T14:44:04Z"}}