GHSA-xxmq-4vph-956w
5.3medium
Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)
- Severity
- 5.3medium CVSS:3.1 by GitHub
- Published
- Last changed
Description
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| comrak (crates.io) | before 0.17.0 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-xxmq-4vph-956w changed 2023-03-28 | CC-BY-4.0 |