Advisory

GHSA-5m6c-jp6f-2vcv

Also known as: BIT-oauth2-proxy-2020-4037, CVE-2020-4037

Summary

Open Redirect in OAuth2 Proxy

Details

Impact
As users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This is expected to be the original URL that the user was trying to access.
This redirect URL is checked within the proxy and validated before redirecting the user to prevent malicious actors providing redirects to potentially harmful sites.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-20 17:58 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

github.com/oauth2-proxy/oauth2-proxy

Go · All systems

Affected

  • introduced 5.1.1, fixed 6.0.0 (semver)

Fixed versions

6.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences