PT-2022-24809 · Cmark-Gfm+3 · Cmark-Gfm+3

Anticomputer

·

Published

2022-09-15

·

Updated

2025-03-03

·

CVE-2022-39209

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.6
Description A polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users can verify the patch by running python3 -c 'print("![l"* 100000 + " ")' | ./cmark-gfm -e autolink, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm.
Recommendations To resolve the issue, users are advised to upgrade to version 0.29.0.gfm.6 or later. Users unable to upgrade should disable the use of the autolink extension as a temporary workaround.

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-2022-39209
GHSA-CGH3-P57X-9Q7Q
RSEC-2023-7
USN-7319-1

Affected Products

Debian
Linuxmint
Ubuntu
Cmark-Gfm