PT-2023-18535 · Cmark-Gfm+3 · Cmark-Gfm+3

Kevinbackhouse

·

Published

2023-01-23

·

Updated

2025-03-03

·

CVE-2023-22484

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions cmark-gfm versions prior to 0.29.0.gfm.7 cmark-gfm versions prior to 0.29.0.gfm.12
Description The issue concerns a polynomial time complexity problem in cmark-gfm, which may lead to unbounded resource exhaustion and subsequent denial of service. This problem affects multiple components, including autolink extension, handle close bracket, and parsing of certain text patterns, such as those starting with >, -, or . An out-of-bounds read was also identified in the validate protocol function, although it is considered less severe.
Recommendations For versions prior to 0.29.0.gfm.7, update to version 0.29.0.gfm.7 or later to resolve the issue. For versions prior to 0.29.0.gfm.12, update to version 0.29.0.gfm.12 to ensure all patches are applied. As a temporary workaround, consider validating input from trusted sources if upgrading is not immediately possible.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2023-22484
GHSA-24F7-9FRR-5H2R
MGASA-2023-0181
OPENSUSE-SU-2024:12802-1
RSEC-2023-8
USN-7319-1

Affected Products

Debian
Linuxmint
Ubuntu
Cmark-Gfm