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

3.5LOW

Key Information:

Vendor

Github

Status
Vendor
CVE Published:
26 January 2023

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

References

CVSS V3.1

Score:
3.5
Severity:
LOW
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.