cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service
CVE-2023-22486
3.5LOW
What is CVE-2023-22486?
The cmark-gfm library, a GitHub fork of the CommonMark parsing and rendering tool, exhibits a polynomial time complexity flaw in the handle_close_bracket function. This issue can lead to unbounded resource exhaustion, compromising system efficiency by triggering a denial of service, especially in applications relying on this library for markdown rendering. The vulnerability has been addressed in version 0.29.0.gfm.7, highlighting the importance of upgrading to maintain optimal performance and security.
Affected Version(s)
cmark-gfm < 0.29.0.gfm.7