{"id":"GO-2022-0790","summary":"Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy","details":"Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy","aliases":["BIT-oauth2-proxy-2021-21291","CVE-2021-21291","GHSA-4mf2-f3wh-gvf2"],"modified":"2026-03-03T04:50:53.714629Z","published":"2024-08-21T15:28:59Z","database_specific":{"review_status":"UNREVIEWED","url":"https://pkg.go.dev/vuln/GO-2022-0790"},"references":[{"type":"ADVISORY","url":"https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-4mf2-f3wh-gvf2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21291"},{"type":"FIX","url":"https://github.com/oauth2-proxy/oauth2-proxy/commit/780ae4f3c99b579cb2ea9845121caebb6192f725"},{"type":"WEB","url":"https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0"},{"type":"WEB","url":"https://pkg.go.dev/github.com/oauth2-proxy/oauth2-proxy/v7"}],"affected":[{"package":{"name":"github.com/oauth2-proxy/oauth2-proxy","ecosystem":"Go","purl":"pkg:golang/github.com/oauth2-proxy/oauth2-proxy"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0790.json"}},{"package":{"name":"github.com/oauth2-proxy/oauth2-proxy/v7","ecosystem":"Go","purl":"pkg:golang/github.com/oauth2-proxy/oauth2-proxy/v7"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"7.0.0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2022-0790.json"}}],"schema_version":"1.7.3"}