Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### Impact comrak 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. ### Patches 0.17.0 contains https://github.com/kivikakk/comrak/commit/70f97f3ea4eae30ffbd1b94c764a3de2f1c41d2a, which limits reference output to a 100Kb maximum. ### Workarounds n/a ### References * https://github.com/commonmark/cmark/issues/354
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | comrak (crates.io) | before 0.17.0 | 0.17.0 | Patch available | GHSA-xxmq-4vph-956w |
- comrak (crates.io) Vendor— Affected before 0.17.0 Fixed in 0.17.0 Patch available GHSA-xxmq-4vph-956w
Remediation
- Fix · GHSA-xxmq-4vph-956w comrak (crates.io) Fixed in 0.17.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-xxmq-4vph-956w
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences