Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify endpoint normalizing untrusted URIs
-
DeliveryCraft long path with many nested dot segments
-
ExploitSubmit URI triggering quadratic normalize_path
-
ExecutionWorker thread consumed for seconds
-
PersistRepeat to exhaust worker pool
-
ImpactDenial of service
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Exploitation requires that the target application pass an attacker-controlled URI to one of the normalizing/comparing/joining methods: Addressable::URI#normalize, #normalized_path, #join, #, or #= (all of which call normalize_path). Code paths that only call URI.parse, or that never normalize, compare, or join untrusted URIs, are NOT exploitable. The limiting factor is input length and dot-segment density: cost scales with the square of path length, so a URI-length cap sharply reduces impact (the advisory notes ~8 KB request-line limits common in web servers hold cost to ~150 ms/call, while 34 KB reaches ~3.5s on MRI Ruby 4.0). URIs sourced from places without length limits (request bodies, headers such as Location, stored data) are the realistic risk surface. No authentication is required per PR:N and no user interaction per UI:N; affects all Addressable versions prior to 2.9.1 on every Ruby implementation including MRI 3.2+. |
| Impact | This is a genuine but moderate-priority availability issue, not a high-severity emergency. The provided CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H, base 5.9) scores only availability impact with no confidentiality or integrity loss, matching the CWE-407 algorithmic-complexity (quadratic normalization) root cause described by the GitHub Security Advisory. KEV status is NOT present in the input, so there is no confirmed active exploitation; no EPSS score was supplied, so exploitation probability cannot be quantified from this data. The vuln.today decision label is 'this_month' (not act_now/emergency), which is consistent with a remotely-reachable DoS that is impactful but not credential- or RCE-bearing. The AC:H in the supplied vector is the one signal worth scrutinizing: the advisory shows that a trivially constructed path (e.g. '/' + 'a/'*n + '../'*n) drives the cost, and a 34 KB path takes ~3.5s on MRI Ruby 4.0, so the attacker-side complexity of crafting a payload is actually low - the AC:H rating appears to understate ease of payload construction, though real impact is gated by whether the deploying application normalizes/compares/joins untrusted URIs. Net: treat as a real patch-this-cycle item for Ruby services that process untrusted URIs, but not a drop-everything issue absent KEV/EPSS evidence. |
| Exploit ScenarioDerived | A Ruby web application or service accepts a URL from untrusted input (request line, body, a Location/redirect header, or stored data) and calls Addressable::URI#normalize, #join, # or #= on it. An attacker submits a long path packed with nested dot segments (e.g. '/a/a/a/.../../..'), forcing quadratic-time normalization that ties up a worker thread for seconds per request; repeating this exhausts the worker pool and denies service. No public, confirmed working exploit code is identified in the input, though the advisory includes an illustrative payload pattern; attack vector is network (AV:N) and no authentication is required (PR:N). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 12, 2026
Quadratic-time path normalization in the Ruby Addressable gem (all versions prior to 2.9.1) lets a crafted URI with many nested dot segments tie up a worker thread, causing denial of service. The flaw lives in Addressable::URI.normalize_path and is inherited by URI#normalize, #normalized_path, #join, # and #=, so applications that normalize, compare or join attacker-controlled URIs are exposed on every Ruby implementation, including MRI 3.2+. Cost grows with the square of path length - roughly 3.5 seconds for a 34 KB path on MRI Ruby 4.0 - so the practical risk is highest where URIs arrive without length limits, such as request bodies, Location headers or stored data; URI.parse alone and code that never normalizes, compares or joins untrusted URIs are unaffected. No public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor fix is version 2.9.1.
RemediationAI
Upgrade the addressable gem to 2.9.1 (release: https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1; fix commit 25c7c412a2f7e06c3cac92872e831f6d053703c5), which replaces the repeated-scan normalization with a single linear pass. Until the upgrade can be applied, the vendor-documented workarounds are to cap the length of URIs accepted from user input before calling normalize, == or join on them - web servers commonly limit request lines to about 8 KB, which holds per-call cost to roughly 150 ms, but URIs from request bodies, Location headers or stored data may not be length-limited - and to reject paths containing many dot segments before normalizing them. Note that these workarounds reduce but do not eliminate the quadratic cost, and the same 2.9.1 release also fixes related normalization errors (dot segments surviving a '..' above the root, and line feeds treated as segment boundaries), so upgrading is preferred over relying on mitigations.
Affected VersionsENISA
Affected Packages
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
Addressable::URI is a pure-Ruby alternative to the standard library's URI implementation, and normalize_path implements the remove_dot_segments algorithm from RFC 3986 section 5.2.4. The vulnerable implementation applied a set of regular expressions (RULE_2A, RULE_2B_2C, RULE_2D, RULE_PREFIXED_PARENT) in a loop, rewriting the entire path string on each pass while eliminating only one nested dot segment per iteration, which produces the CWE-407 inefficient-algorithmic-complexity behavior: work grows quadratically with the number of dot segments and total path length. Because the same routine is called by URI#normalize, #normalized_path, #join, # and #=, even an equality comparison against an untrusted URI can trigger the expensive path. The upstream fix (commit 25c7c412) replaces the repeated-regex loop with a single linear pass that splits the path on slashes, walks the segments once with an output stack to resolve '.' and '..' entries, and then strips leading dotted segments; the legacy RULE_* constants are deprecated and slated for removal in 2.10.0. The same release also corrects two related normalization bugs - dot segments retained after a '..' above the root, and raw line feeds treated as segment boundaries. Note that the CVSS vector supplied with the advisory (AC:H) differs from the assessed vector (AC:L); the exploitation prerequisite is that untrusted input actually reaches one of these normalization methods.
Know when Ruby gets its next vulnerability
- 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
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Payload is trivially crafted (long dot-segment path) so AC:L; network-reachable and no auth per the advisory (AV:N/PR:N); only availability affected, no C/I impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. Prior to 2.9.1, Addressable::URI.normalize_path repeatedly scans and rewrites paths while removing only one nested dot segment per pass, producing quadratic work. URI#normalize, URI#normalized_path, URI#join, URI#, and URI#= inherit the behavior, so processing a sufficiently long attacker-controlled URI can consume a worker thread and cause denial of service on every Ruby implementation. URI.parse alone and code that never normalizes, compares, or joins untrusted URIs are unaffected. This issue is fixed in version 2.9.1.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Ruby before 2.4.3 allows Net::FTP command injection. Rated high severity (CVSS 8.8), this vulnerability is remotely expl
The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injectio
Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call
Type confusion exists in two methods of Ruby's WIN32OLE class, ole_invoke and ole_query_interface. Rated critical severi
Authenticated remote code execution in OpenC3 COSMOS (Ruby gem 'openc3' versions 5.1.0 through 7.2.1) lets any logged-in
Ruby code execution in Elo (npm @enspirit/elo) through 1.0.0 lets an attacker who controls Elo source gain arbitrary Rub
Type confusion exists in _cancel_eval Ruby's TclTkIp class method. Rated critical severity (CVSS 9.8), this vulnerabilit
An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Rub
An issue was discovered in Oniguruma 6.2.0, as used in Oniguruma-mod in Ruby through 2.4.1 and mbstring in PHP through 7
Stored XSS in Bugsink error tracking tool before 2.0.13 allows unauthenticated attackers to inject persistent scripts th
Ruby before 2.4.2, 2.3.5, and 2.2.8 is vulnerable to a malicious format string which contains a precious specifier (*) w
Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and tru
EUVD-2026-124731
GHSA-qq38-m9mg-xjj5
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB