What’s Vulnerable › Vulnerabilities

CVE-2023-28626: Quadratic runtime when parsing Markdown in comrak

Description

comrak is a CommonMark + GFM compatible Markdown parser and renderer written in rust. A range of quadratic parsing issues are present in Comrak. These can be used to craft denial-of-service attacks on services that use Comrak to parse Markdown. This issue has been addressed in version 0.17.0. Users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as `GHSL-2023-047`

Affected products

How to fix

Upgrade to a fixed version: kivikakk comrak 0.17.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-28626 or the next vulnerability affects your stack