cmark-gfm Quadratic complexity bug in handle_close_bracket may lead to a denial of service
CVE-2023-22486
7.5HIGH
Summary
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
References
CVSS V3.1
Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
Timeline
Vulnerability published
Vulnerability Reserved