Inefficient Algorithmic Complexity Affecting addressable package, versions <2.9.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.52% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUBY-ADDRESSABLE-22840128
  • published24 Nov 2026
  • disclosed12 Nov 2026
  • creditMatthew Mongeau

Introduced: 12 Nov 2026

NewCVE-2026-126351  (opens in a new tab)
CWE-407  (opens in a new tab)

How to fix?

Upgrade addressable to version 2.9.1 or higher.

Overview

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

Affected versions of this package are vulnerable to Inefficient Algorithmic Complexity via the normalize_path function in Addressable::URI. An attacker can cause quadratic processing and exhaust application resources by supplying a URI with many nested dot segments when the application calls URI#normalize, URI#normalized_path, URI#==, URI#===, or URI#join.

Workarounds

  • Limit the length of user-supplied URIs before calling normalize, ==, or join on them to reduce the cost of quadratic path normalization.
  • Reject paths with many dot segments before normalizing them to prevent attacker-supplied paths from triggering expensive normalization.

CVSS Base Scores

version 4.0
version 3.1