{ "schema_version": "1.4.0", "id": "GHSA-xxmq-4vph-956w", "modified": "2023-03-28T14:44:04Z", "published": "2023-03-28T14:44:04Z", "aliases": [], "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", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "comrak" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.17.0" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2023-03-28T14:44:04Z", "nvd_published_at": null } }