Addressable URI normalization resolves some dotted path segments to the wrong path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in addressable 2.9.1.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| sporkmonger | >=2.2.5 <2.9.1 | ||
| rubygems: addressable | >=2.2.5 <2.9.1 | 2.9.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in addressable (RubyGems), strongest first
Embed
A live severity badge for an advisory, README or ticket