CVE Catalog

GHSA-pp92-crg2-gfv9

High
Published: Translated: NVD NIST

Summary

The vulnerability occurs when an application uses OAuth2::Client and the authorization server returns a redirect with a Location header in the form of a protocol-relative URI. In this case, OAuth2::Client#request may incorrectly resolve the redirect.

Risk Assessment

This could lead to unauthorized access to data if an attacker exploits this vulnerability to intercept access tokens.

Recommendation

It is recommended to validate and verify Location headers before use to prevent redirects to unsafe locations.

Related vulnerabilities

Original NVD description (English source)

## Summary When an application uses OAuth2::Client (typically via an OAuth2::AccessToken) and the configured authorization server returns a redirect whose Location header is a protocol-relative URI of the form //attacker.example/leak, OAuth2::Client#request resolves the redirect with response.respo

Vulnerability data from NVD (NIST) · CISA KEV · EPSS