{"id":"GO-2022-0790","revision":"136316575ea74648a11b03b0b5e85947","records":[{"revision":"136316575ea74648a11b03b0b5e85947","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2022-0790","aliases":["BIT-oauth2-proxy-2021-21291","CVE-2021-21291","GHSA-4mf2-f3wh-gvf2"],"title":"Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy","description":"Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy","state":0,"publishedAt":"2024-08-21T15:28:59+00:00","modifiedAt":"2026-03-03T04:50:53.714629+00:00","affected":[{"ecosystem":"Go","name":"github.com/oauth2-proxy/oauth2-proxy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/oauth2-proxy/oauth2-proxy/v7","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"7.0.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-4mf2-f3wh-gvf2","https://nvd.nist.gov/vuln/detail/CVE-2021-21291","https://github.com/oauth2-proxy/oauth2-proxy/commit/780ae4f3c99b579cb2ea9845121caebb6192f725","https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0","https://pkg.go.dev/github.com/oauth2-proxy/oauth2-proxy/v7"],"sourceUrl":"https://osv.dev/vulnerability/GO-2022-0790","license":"OSV · upstream source license applies","key":"osv:GO-2022-0790","identifiers":["GO-2022-0790","BIT-oauth2-proxy-2021-21291","CVE-2021-21291","GHSA-4mf2-f3wh-gvf2"]},"retained":false,"historicalAffected":[]}],"coverage":[]}