Bug#1143054: ruby-oauth2: CVE-2026-54603

Salvatore Bonaccorso <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178538653011.1140345.2647796237523597877.reportbug__28527.0629030251$1785386724$gmane$org@eldamar.lan>
Source: ruby-oauth2
Version: 2.0.18-1
Severity: grave
Tags: security upstream
Justification: user security hole
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for ruby-oauth2.

CVE-2026-54603[0]:
| 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 Authorization header is sent to an attacker-controlled host,
| leaking the credential. This issue is fixed in version 2.0.22.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-54603
    https://www.cve.org/CVERecord?id=CVE-2026-54603
[1] https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9
[2] https://github.com/ruby-oauth/oauth2/commit/0f0a474f1b38453e119e660c2daca742d4378ce9

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.