CVE-2022-39209: fedoraproject fedora Uncontrolled Resource Consumption
Vulnerability summary
CVE-2022-39209 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in fedoraproject fedora. EPSS estimates a 2.15% chance of exploitation in the next 30 days, higher than 81.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 15-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
2.15%
Chance of exploitation in the next 30 days
Percentile
82%
Versus all other CVEs
30-day change
+0.02 pp
From 2.14% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-407Inefficient Algorithmic ComplexityAn algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached.
Affected systems
Debian5 products
- cmark-gfm< 0.29.0.gfm.6-2
- ghostwriter< 2.1.6+ds-1
- python-cmarkgfmAll versions (No fix recorded) | < 2024.11.20-1
- r-cran-commonmark< 1.8.1-1
- ruby-commonmarkerAll versions (No fix recorded) | < 0.23.10-1
Fedoraproject1 product
- fedoraEOL35 | 36 | 37
Github1 product
- cmark-gfm< 0.29.0.gfm.6
Ubuntu1 product
- cmark-gfm< 0.29.0.gfm.0-4ubuntu0.1~esm1 | < 0.29.0.gfm.3-3ubuntu0.1~esm1
4 vendors · 8 products
References
10 links- github.com/github/cmark-gfm/commit/9d57d8a23142b316282bdfc954cb0ecda40a8655REPORTPatchThird Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory