GHSA-xxmq-4vph-956w
MEDIUM 5.3CVSS 3.1Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)
Impact
comrak is vulnerable to the upstream cmark issue, "Issue revealed by fuzzer". A large number of references in a markdown document can trigger an overly large response.
Patches
0.17.0 contains https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a, which limits reference output to a 100Kb maximum.
Workarounds
n/a
References
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | comrak | < 0.17.0 | 0.17.0 |
References
- https://github.com/kivikakk/comrak/security/advisories/GHSA-xxmq-4vph-956w · WEB
- https://github.com/commonmark/cmark/issues/354 · WEB
- https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a · WEB
- https://github.com/kivikakk/comrak · PACKAGE
- https://github.com/kivikakk/comrak/releases/tag/0.17.0 · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Mar 2023)