8.6 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): High (H)
- Integrity (I): None (N)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): None (N)
Activity log
- Created suggestion
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 Authorization header is sent to an attacker-controlled host, leaking the credential. This issue is fixed in version 2.0.22.
References
-
https://github.com/ruby-oauth/oauth2/security/advisories/GHSA-pp92-crg2-gfv9 x_refsource_CONFIRM
-
https://github.com/ruby-oauth/oauth2/releases/tag/v2.0.22 x_refsource_MISC
Affected products
- ==>= 0.4.0, < 2.0.22
Matching in nixpkgs
pkgs.oauth2c
User-friendly OAuth2 CLI
pkgs.oauth2l
Simple CLI for interacting with Google API authentication
pkgs.oauth2ms
XOAUTH2 compatible Office365 token fetcher
-
nixos-unstable 2021-07-09
- nixpkgs-unstable 2021-07-09
- nixos-unstable-small 2021-07-09
-
nixos-26.05 2021-07-09
- nixos-26.05-small 2021-07-09
- nixpkgs-26.05-darwin 2021-07-09
pkgs.oauth2-proxy
Reverse proxy that provides authentication with Google, Github, or other providers
pkgs.cyrus-sasl-xoauth2
XOAUTH2 mechanism plugin for cyrus-sasl
pkgs.haskellPackages.hoauth2
Haskell OAuth2 authentication client
pkgs.haskellPackages.req-oauth2
Provides OAuth2 authentication for use with Req
pkgs.haskellPackages.gogol-oauth2
Google OAuth2 SDK
pkgs.haskellPackages.oauth2-server
OAuth 2.1 authorization server implementation
pkgs.python313Packages.oauth2client
Client library for OAuth 2.0
pkgs.python314Packages.oauth2client
Client library for OAuth 2.0
pkgs.python313Packages.oauth2-client
Client library for OAuth2
pkgs.python313Packages.python-oauth2
Framework that aims at making it easy to provide authentication via OAuth 2.0 within an application stack
pkgs.python314Packages.oauth2-client
Client library for OAuth2
pkgs.python314Packages.python-oauth2
Framework that aims at making it easy to provide authentication via OAuth 2.0 within an application stack
pkgs.haskellPackages.google-oauth2-jwt
Get a signed JWT for Google Service Accounts
pkgs.haskellPackages.yesod-auth-oauth2
OAuth 2.0 authentication plugins
Package maintainers
-
@Swarsel Leon Schwarzäugl <leon@swarsel.win>
-
@flokli Florian Klink <flokli@flokli.de>
-
@happysalada Raphael Megzari <raphael@megzari.com>