GHSA-xxmq-4vph-956w Comrak vulnerable to production of excessive output when parsing Markdown (GHSL-2023-048)
MediumCVSS 5.3
- Published
- Updated
- Exploit status
- No public exploit known
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
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io comrak(crates.io) | < 0.17.0 | 0.17.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io comrak(crates.io) | < 0.17.0 | 0.17.0 |
References
- github.com vendor-advisory
- github.com
- github.com patch
- github.com
- github.com
- github.com product