Skip to main content

Red Hat CVE-2026-33169

MEDIUM
Uncontrolled Resource Consumption (CWE-400)
2026-03-23 https://github.com/rails/rails
5.3
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

The risk assessment reveals a moderate-to-high priority vulnerability despite missing CVSS and EPSS scores. The attack vector is network-based (assuming the vulnerable converter is exposed via web services), the attack complexity is low (any attacker can send a long digit string), and no special privileges are required, indicating broad exploitability. The presence of multiple confirmed patches across three stable Rails versions (7.2.3.1, 8.0.4.1, 8.1.2.1) from the official Rails repository demonstrates vendor acknowledgment and active mitigation. The vulnerability is not listed as actively exploited in known exploit databases, but the simplicity of the attack (sending crafted numeric input) and the absence of authentication requirements makes exploitation trivial for any remote client. From an SSVC perspective, the technical impact is high (denial of service), the exploitability is functional (patches exist), and the automatable nature is high (any HTTP client can trigger it). Organizations running unpatched Rails applications that expose number formatting functionality should prioritize patching.

Exploit ScenarioDerived

An attacker sends an HTTP request to a Rails application that formats numbers for display (e.g., a financial dashboard or reporting API endpoint). The request includes a very long string of digits (e.g., thousands of consecutive numerals) in a parameter that triggers the NumberToDelimitedConverter. The vulnerable regex processing enters catastrophic backtracking, consuming 100% CPU and blocking the application thread or process. If the application uses a thread pool (common in production Rails deployments), repeated requests with different digit strings can exhaust all available threads, causing the application to become unresponsive to legitimate users and resulting in denial of service. No specialized tooling is required; any HTTP client can exploit this with a simple POST or GET request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 23, 2026

A regular expression denial of service (ReDoS) vulnerability exists in Rails ActiveSupport's NumberToDelimitedConverter, which uses gsub! with an inefficient regex pattern to insert thousands delimiters into numeric strings. An attacker can craft excessively long digit strings that cause quadratic time complexity, leading to CPU exhaustion and denial of service. Patches are available from the Rails project for versions 7.2.3.1, 8.0.4.1, and 8.1.2.1, and the vulnerability is tagged as a denial of service issue affecting the activesupport gem.

RemediationAI

Immediately upgrade Ruby on Rails to version 7.2.3.1, 8.0.4.1, 8.1.2.1, or later, depending on your current release branch. The patches are available from the official Rails releases at https://github.com/rails/rails/releases and have been committed to the main repository (see commits 29154f1097da13d48fdb3200760b3e3da66dcb11, b54a4b373c6f042cab6ee2033246b1c9ecc38974, and ec1a0e215efd27a3b3911aae6df978a80f456a49). For applications unable to upgrade immediately, implement input validation to reject excessively long numeric strings before they reach the NumberToDelimitedConverter, and consider rate-limiting or request size restrictions at the application or reverse proxy level to mitigate ReDoS exploitation. Consult the GitHub advisory at https://github.com/advisories/GHSA-cg4j-q9v8-6v38 for complete details and version mapping.

Affected Packages

rubygems activesupport fix: 7.2.3.1, 8.0.4.1, 8.1.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in rubygems

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the NumberToDelimitedConverter component of Ruby on Rails' ActiveSupport library (pkg:rubygems/activesupport), which provides utility functions for number formatting including the insertion of thousands separators. The root cause is classified under CWE-400 (Uncontrolled Resource Consumption), specifically a regex denial of service (ReDoS) condition where the gsub! method with a poorly optimized regular expression exhibits catastrophic backtracking behavior on certain input patterns. When processing long strings of digits, the regex engine enters a state of exponential time complexity, consuming CPU resources proportionally to the square of the input length rather than linearly. This occurs because the regex pattern used for delimiter insertion does not properly handle the alternation and quantifiers in a way that prevents backtracking on non-matching portions of extended numeric strings.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
SUSE MEDIUM
Red Hat 5.9 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

2
Patch released
Mar 23, 2026 - 21:00 nvd
Patch available
CVE Published
Mar 23, 2026 - 20:52 nvd
MEDIUM 5.3

DescriptionGitHub Advisory

Impact

NumberToDelimitedConverter used a regular expression with gsub! to insert thousands delimiters. This could produce quadratic time complexity on long digit strings.

Releases

The fixed releases are available at the normal locations.

Executive ViewAI

Why It Matters

CVE-2026-33169 presents moderate security risk, a resource exhaustion vulnerability rated CVSS 5.3. Service availability could be impacted. A patch is available and should be applied during regular vulnerability management.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement rate limiting and resource quotas.

Threat Intelligence Overview

EPSS Score
0.0%
Top 96% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)GitHub Advisory

pkg:rubygems/activesupport
pkg:rubygems/activesupport
pkg:rubygems/activesupport

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
openSUSE Leap 15.6 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP4 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP5 Fixed
SUSE Linux Enterprise High Availability Extension 15 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy