CVE-2026-126351
Denial of service in Addressable URI path normalization
Overview
Description
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.
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-407
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | addressable | <2.9.1 | 2.9.1 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
chainguard 1 release · 10 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| pghero +1 | 3.8.0-r15 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-8-19 | 8.19.25-r2 | |
| logstash-9-3 | 9.3.8-r4 |
4 more rows
wolfi 1 release · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| ruby3-4-fluentd-kubernetes-daemonset-1-19 +1 | 1.19.4.1.2-r2 | |
| ruby3-3-fluentd-kubernetes-daemonset-1-19 | 1.19.4.1.2-r3 | |
| kube-logging-operator | 6.9.0-r13 | |
| logstash-9-3 | 9.3.8-r4 | |
| logstash-9-4 | 9.4.9-r3 |
References
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/addressable/GHSA-qq38-m9mg-xjj5.yml
- github.com https://github.com/sporkmonger/addressable
- github.com https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md#v2.9.1
- github.com https://github.com/sporkmonger/addressable/commit/25c7c412a2f7e06c3cac92872e831f6d053703c5
- github.com https://github.com/sporkmonger/addressable/compare/addressable-2.9.0...addressable-2.9.1
- github.com https://github.com/sporkmonger/addressable/releases/tag/addressable-2.9.1
- github.com https://github.com/sporkmonger/addressable/security/advisories/GHSA-qq38-m9mg-xjj5
- rubygems.org https://rubygems.org/gems/addressable/versions/2.9.1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-126351
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.