Quadratic complexity may lead to a denial of service in cmark-gfm
CVE-2023-24824
7.5HIGH
Summary
The cmark-gfm library, a variant of the C CommonMark parsing and rendering tool, contains a vulnerability that can result in unbounded resource exhaustion. This occurs when processing inputs with a high density of specific characters, such as consecutive >
or -
, leading to potential denial of service. To mitigate risks, users should upgrade to version 0.29.0.gfm.10 or later. If upgrading is not feasible, it is crucial to ensure that input data is sourced from trusted entities to avoid exploitation.
Affected Version(s)
cmark-gfm < 0.29.0.gfm.10
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