Moderate severityNVD Advisory· Published Mar 28, 2023· Updated Feb 18, 2025
Quadratic runtime when parsing Markdown in comrak
CVE-2023-28626
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
comrakcrates.io | < 0.17.0 | 0.17.0 |
Affected products
2- kivikakk/comrakv5Range: < 0.17.0
Patches
Vulnerability mechanics
References
21- github.com/advisories/GHSA-8hqf-xjwp-p67vghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-28626ghsaADVISORY
- github.com/commonmark/cmark/issues/218ghsaWEB
- github.com/commonmark/cmark/issues/255ghsaWEB
- github.com/commonmark/cmark/issues/284ghsaWEB
- github.com/commonmark/cmark/issues/299ghsaWEB
- github.com/commonmark/cmark/issues/373ghsaWEB
- github.com/commonmark/cmark/issues/388ghsaWEB
- github.com/commonmark/cmark/issues/389ghsaWEB
- github.com/commonmark/cmark/pull/232ghsaWEB
- github.com/github/cmark-gfm/blob/c32ef78bae851cb83b7ad52d0fbff880acdcd44a/test/pathological_tests.pyghsaWEB
- github.com/github/cmark-gfm/blob/c32ef78bae851cb83b7ad52d0fbff880acdcd44a/test/pathological_tests.pyghsaWEB
- github.com/kivikakk/comrak/commit/ce795b7f471b01589f842dc09af38b025701178dghsax_refsource_MISCWEB
- github.com/kivikakk/comrak/releases/tag/0.17.0ghsaWEB
- github.com/kivikakk/comrak/security/advisories/GHSA-8hqf-xjwp-p67vghsax_refsource_CONFIRMWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUYME2VA555X6567H7ORIJQFN4BVGT6NghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTWZWCT7KCX2KTXTLPUYZ3EHOONG4X46ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VQ3UBC7LE4VPCMZBTADIBL353CH7CPVVghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OUYME2VA555X6567H7ORIJQFN4BVGT6N/mitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PTWZWCT7KCX2KTXTLPUYZ3EHOONG4X46/mitre
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VQ3UBC7LE4VPCMZBTADIBL353CH7CPVV/mitre
News mentions
0No linked articles in our index yet.