{"id":"CVE-2020-4037","published":"2020-06-29T19:45:13Z","modified":"2024-08-04T07:52:20Z","title":"Open Redirect in OAuth2 Proxy","vendor":"OAuth2 Proxy","product":"OAuth2 Proxy","tier":"tail","description":{"text":"In OAuth2 Proxy from version 5.1.1 and less than version 6.0.0, 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. This has been fixed in version 6.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00896,"percentile":0.60417,"provenance":"source"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"references":[{"url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/oauth2-proxy/oauth2-proxy/commit/ee5662e0f5001d76ec76562bb605abbd07c266a2","tags":["x_refsource_MISC"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":12.08},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"oauth2-proxy","affectedVersions":[{"vendor":"OAuth2 Proxy","product":"OAuth2 Proxy","versions":[">= 5.1.1, < 6.0.0"]}],"affected":[{"ecosystem":"Go","package":"github.com/oauth2-proxy/oauth2-proxy","vulnerableRanges":[">=5.1.1, <6.0.0"],"patched":["6.0.0"],"from":["GHSA-5m6c-jp6f-2vcv"],"provenance":"source"}],"summary":{"text":"The open redirect flaw affects OAuth2 Proxy from version 5.1.1 up to (but not including) 6.0.0, in the post-authentication redirect handling that sends users to the URL they originally requested. An attacker can craft a link that causes a user to be redirected to an arbitrary external site after authenticating, requiring only that the victim open the link (user interaction) and no prior authentication or network position beyond reaching the proxy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:36:13Z"},"euvd":{"id":"EUVD-2021-2449","exploited":false,"provenance":"source"}}