Denial of Service Vulnerability in Commonmarker

commonmarker Updated 02 Oct 2025

Summary

08/08/2023
MODERATE
Yes i
Moderate
Not published

GHSA-7vh7-fw88-wj87: Several quadratic complexity bugs may lead to denial of service in Commonmarker. Affects commonmarker versions < 0.23.10. Fixed in 0.23.10. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Commonmarker is a RubyGem package that provides a Markdown parser and renderer. It is commonly used in Ruby applications to convert Markdown syntax into HTML. The package is vulnerable to several quadratic complexity bugs in its underlying cmark-gfm library, which may result in unbounded resource exhaustion and subsequent denial of service.

Vulnerability Detail

The quadratic complexity bugs in Commonmarker's cmark-gfm library can be exploited to cause a denial of service attack. By providing specially crafted input, an attacker can trigger excessive resource consumption, leading to the exhaustion of system resources such as CPU and memory. This can result in degraded performance or even a complete system crash. The vulnerabilities have been assigned CVE-2023-37463.

How To Fix

Minimum fixed version

0.23.10

This is the first release that contains the fix.

gem install commonmarker -v 0.23.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There are no known workarounds for this vulnerability. It is essential to upgrade to the fixed version of the commonmarker package to mitigate the risk of a denial of service attack.

Conclusion

In conclusion, the Commonmarker package is vulnerable to several quadratic complexity bugs that can lead to denial of service attacks. It is crucial to upgrade to version 0.23.10 of the package to mitigate these vulnerabilities. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for commonmarker →

Share this vulnerability

FAQ

The vulnerabilities can lead to unbounded resource exhaustion and subsequent denial of service, potentially causing system instability or crashes.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will alert you if the vulnerability is present.

The only known mitigation is to upgrade to version 0.23.10 of the commonmarker package. This version includes the necessary fixes to address the vulnerabilities.

No, these vulnerabilities do not directly result in data loss. However, they can cause system instability and potential service disruptions.

Related vulnerabilities

Recent vulnerabilities recorded for commonmarker.

How To Fix

Minimum fixed version

0.23.10

This is the first release that contains the fix.

gem install commonmarker -v 0.23.10

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.