Resource exhaustion in cmark-gfm - CVE-2022-39209

 

Resource exhaustion in cmark-gfm - CVE-2022-39209

Published: September 20, 2022


Vulnerability identifier: #VU67493
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-39209
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a polynomial time complexity issue in the autolink extension. A remote user can trigger resource exhaustion and perform a denial of service (DoS) attack.


Affected software

cmark-gfm
Ubuntu
Fedora
cmark-gfm (Ubuntu package)
ghc-cmark-gfm
ghostwriter

How to mitigate CVE-2022-39209

Install updates from vendor's website.

cmark-gfm - update to 0.29.0.gfm.6
cmark-gfm (Ubuntu package) - addressed in versions Ubuntu Pro, 0.29.0.gfm.6-6ubuntu0.24.10.1
ghc-cmark-gfm - addressed in versions 0.2.5-1.fc35, 0.2.5-1.fc36, 0.2.5-1.fc37
ghostwriter - update to 23.03.90-2.fc39

External References

Related Security Bulletins