Nixpkgs security tracker

Login with GitHub

Suggestions search

With package: haskellPackages.oauth2-server

Found 1 matching suggestions

View:
Compact
Detailed
Untriaged
Permalink CVE-2026-54603
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)
created 1 week ago 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.

Affected products

oauth2
  • ==>= 0.4.0, < 2.0.22

Matching in nixpkgs

pkgs.oauth2l

Simple CLI for interacting with Google API authentication

pkgs.oauth2-proxy

Reverse proxy that provides authentication with Google, Github, or other providers

pkgs.cyrus-sasl-xoauth2

XOAUTH2 mechanism plugin for cyrus-sasl

  • nixos-unstable 0.2
    • nixpkgs-unstable 0.2
    • nixos-unstable-small 0.2
  • nixos-26.05 0.2
    • nixos-26.05-small 0.2
    • nixpkgs-26.05-darwin 0.2

Package maintainers