First published: Tue Jan 24 2023(Updated: )
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. Versions prior to 0.29.0.gfm.7 contain a polynomial time complexity issue in handle_close_bracket that may lead to unbounded resource exhaustion and subsequent denial of service. This vulnerability has been patched in 0.29.0.gfm.7.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
cmark-gfm | <0.29.0.gfm.7 | |
debian/cmark-gfm | <=0.29.0.gfm.0-6<=0.29.0.gfm.6-6 | 0.29.0.gfm.13-4 |
debian/python-cmarkgfm | <=0.4.2-1<=0.8.0-3 | |
debian/r-cran-commonmark | <=1.7-2<=1.8.1-1 | 1.9.2-2 |
debian/ruby-commonmarker | <=0.21.0-1<=0.23.6-1<=0.23.10-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-22486 is a vulnerability in cmark-gfm, a CommonMark parsing and rendering library and program in C, that can lead to unbounded resource exhaustion and subsequent denial of service.
The severity of CVE-2023-22486 is high with a score of 7.5 out of 10.
Versions prior to 0.29.0.gfm.7 of cmark-gfm are affected by CVE-2023-22486.
CVE-2023-22486 can be exploited by an attacker to exploit the polynomial time complexity issue in handle_close_bracket, causing unbounded resource exhaustion.
Yes, upgrading to version 0.29.0.gfm.7 or later of cmark-gfm fixes the vulnerability.