CVE-2023-37463
Ruby vulnerability analysis and mitigation

Overview

cmark-gfm, an extended version of the C reference implementation of CommonMark (a rationalized version of Markdown syntax), was found to contain three polynomial time complexity issues that could lead to unbounded resource exhaustion and subsequent denial of service. The vulnerability was discovered in version 0.29.0.gfm.11 and earlier versions, and was patched in version 0.29.0.gfm.12. The issue was assigned CVE-2023-37463 and was disclosed on July 13, 2023 (GitHub Advisory).

Technical details

The vulnerability consists of three distinct quadratic complexity issues: 1) A quadratic loop in table alignment logic where searching a linked list to calculate column numbers becomes inefficient with large tables, 2) A linear-sized input creating quadratic-size tables through column extension behavior, and 3) Nested footnotes causing quadratic behavior through deeply-nested lists of blocks. The vulnerability received a CVSS v3.1 base score of 7.5 (HIGH) from NIST with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

These vulnerabilities could be exploited in denial-of-service attacks on websites that use cmark-gfm to render markdown documents. The issues allow attackers to craft specific markdown inputs that trigger quadratic time complexity, leading to resource exhaustion (GitHub Security Lab).

Mitigation and workarounds

The vulnerabilities have been patched in version 0.29.0.gfm.12. Users are advised to upgrade to this version or later to address these security issues (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68271CRITICAL10
  • RubyRuby
  • openc3
NoYesJan 13, 2026
GHSA-5qw5-wf2q-f538HIGH8.8
  • RubyRuby
  • activerecord-jdbc-adapter
NoYesJan 16, 2026
CVE-2026-22589HIGH7.5
  • RubyRuby
  • spree_core
NoYesJan 10, 2026
CVE-2026-23885MEDIUM6.6
  • RubyRuby
  • alchemy_cms
NoYesJan 19, 2026
GHSA-mpwp-4h2m-765cMEDIUM6.6
  • RubyRuby
  • activejob
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management