What’s Vulnerable › Vulnerabilities

CVE-2023-22486: cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service

Description

cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 contain a polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.

Affected products

How to fix

Upgrade to a fixed version: github cmark-gfm 0.29.0.gfm.7. Check the vendor advisory for mitigations.

References

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