VDB
Sign up
—

GO-2022-0790

Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy

Quick fix

GO-2022-0790 — github.com/oauth2-proxy/oauth2-proxy/v7: upgrade to the fixed version with the command below.

go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.0.0

Details

Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/oauth2-proxy/oauth2-proxy
Introduced in: 0

No fixed version published yet for github.com/oauth2-proxy/oauth2-proxy (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/oauth2-proxy/oauth2-proxy/v7
Introduced in: 0Fixed in: 7.0.0
Fixgo get github.com/oauth2-proxy/oauth2-proxy/v7@v7.0.0

References