NetSight
medium5.9

CVE-2026-126351

Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library.

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsaddressable< 2.9.12.9.1

Affected products · Sporkmonger

ProductAffected versions
Addressable
before 2.9.1
Version < 2.9.1

Weakness classification

References