Algorithmic Complexity Affecting ruby-commonmarker package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.17% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-RUBYCOMMONMARKER-3025447
  • published16 Sept 2022
  • disclosed15 Sept 2022

Introduced: 15 Sep 2022

CVE-2022-39209  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 ruby-commonmarker.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-commonmarker package and not the ruby-commonmarker package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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 Scores

version 3.1