Description
Addressable is an alternative implementation to the URI implementation that is part of Ruby's standard library. From 2.2.5 until 2.9.1, Addressable::URI.normalize_path can resolve a path containing leading parent segments and later parent segments to a different path than an RFC 3986 resolver. URI#normalize, URI#join, URI#==, and URI#=== inherit the result. An application that authorizes the Addressable-normalized path but sends the original URI to another resolver can allow access outside the intended path allowlist. Applications that use the same normalized value for authorization and the request, or reject parent segments, are unaffected. This issue is fixed in version 2.9.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sporkmonger | addressable | >= 2.2.5, < 2.9.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-addressable | No fix yet | — |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | ruby-addressable | No fix yet | — |
| Ubuntu Pro 24.04 LTS | ruby-addressable | No fix yet | — |
| Ubuntu Pro 22.04 LTS | ruby-addressable | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ruby-addressable | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ruby-addressable | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ruby-addressable | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | logstash-9.3 +1 | 9.3.8-r4 | — |
| Wolfi rolling | logstash-9.4 +1 | 9.4.9-r3 | — |
| Wolfi rolling | ruby3.4-kube-logging-operator-fluentd-outputs +3 | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | addressable | >= 2.2.5, < 2.9.1 | 2.9.1 | GHSA-8gmh-2hhj-2hv9 |