Summary
It was discovered that OAuth2 incorrectly handled protocol-relative
redirect locations in client requests, sending the bearer Authorization
header to the host named in the redirect. A remote attacker could possibly
use this issue to obtain sensitive information, such as access tokens.
Fixed packages 6
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · 22.04 LTS 22.04:LTS | ruby-oauth2 | 1.4.4-1+deb12u1build0.22.04.1 |
| Ubuntu · Pro 16.04 LTS Pro:16.04:LTS | ruby-oauth2 | 1.0.0-2ubuntu0.1~esm1 |
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | ruby-oauth2 | 1.4.0-2ubuntu0.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | ruby-oauth2 | 1.4.1-2ubuntu0.1~esm1 |
| Ubuntu · Pro 24.04 LTS Pro:24.04:LTS | ruby-oauth2 | 2.0.7-2ubuntu0.1~esm1 |
| Ubuntu · Pro 26.04 LTS Pro:26.04:LTS | ruby-oauth2 | 2.0.18-1ubuntu0.1~esm1 |
Vulnerabilities 1
-
High 8.6
OAuth2::Client#request: Protocol-relative redirect Location overrides authority, leaking bearer Authorization to attacker host
OAuth2 is a Ruby wrapper for the OAuth 2.0 and 2.1 authorization frameworks, including OpenID Connect (OIDC). From 0.4.0 to 2.0.21, a protocol-relative redirect Location returned to OAuth2::Client#request overrides the request authority, so the bearer Authori…
References
-
report
https://ubuntu.com/security/CVE-2026-54603