Vulnerability · Published Jun 29, 2020 · Assigned by GitHub_M

CVE-2020-4037Open Redirect in OAuth2 Proxy

Medium 4.3

In plain English

A medium-severity open redirect in OAuth2 Proxy from OAuth2 Proxy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.9%top 40.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/oauth2-proxy/oauth2-proxy6.0.0GHSA-5m6c-jp6f-2vcv

Affected products (as reported)

VendorProductVersions
OAuth2 Proxy OAuth2 Proxy >= 5.1.1, < 6.0.0

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

References