GHSA-652x-m2gr-hppm · 深刻度: medium · エコシステム: go — OAuth2-Proxy's `--gitlab-group` GitLab Group Authorization config flag stopped working in v7.0.0
OAuth2-Proxy is an open source reverse proxy that provides authentication with Google, Github or other providers. The `--gitlab-group` flag for group-based authorization in the GitLab provider stopped working in the v7.0.0 release. Regardless of the flag settings, authorization wasn't restricted. Additionally, any authenticated users had whichever groups were set in `--gitlab-group` added to the new `X-Forwarded-Groups` header to the upstream application. While adding GitLab project based authorization support in #630, a bug was introduced where the user session's groups field was populated with the `--gitlab-group` config entries instead of pulling the individual user's group membership from the GitLab Userinfo endpoint. When the session groups where compared against the allowed groups for authorization, they matched improperly (since both lists were populated with the same data) so authorization was allowed. This impacts GitLab Provider users who relies on group membership for authorization restrictions. Any authenticated users in your GitLab environment can access your applications regardless of `--gitlab-group` membership restrictions. This is patched in v7.1.0. There is no workaround for the Group membership bug. But `--gitlab-project` can be set to use Project membership as the authorization checks instead of groups; it is not broken.
総合評価: CVE-2021-21411 は中リスク(43/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.99%、58 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.22% | 0.99% | +0.77% |
| 2 | 2026-01-16 | 0.31% | 0.22% | -0.09% |
| 3 | 2025-11-21 | — | 0.31% | — |
EPSS の全履歴 (全 13 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 5.5 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 5.5 | 3.1 | MEDIUM |
|
2.3 | 2.7 | [email protected] |
| 5.5 | 2.0 | MEDIUM |
|
8.0 | 4.9 | [email protected] |
GHSA-652x-m2gr-hppm · 深刻度: medium · エコシステム: go — OAuth2-Proxy's `--gitlab-group` GitLab Group Authorization config flag stopped working in v7.0.0
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| oauth2_proxy_project | oauth2_proxy | >= 7.0.0, < 7.1.0 | cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://docs.gitlab.com/ee/user/group/ | Third Party Advisory |
| https://github.com/oauth2-proxy/oauth2-proxy/commit/0279fa7dff1752f1710707dbd1ffac839de8bbfc | Patch Third Party Advisory |
| https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.1.0 | Release Notes Third Party Advisory |
| https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-652x-m2gr-hppm | Third Party Advisory |
| https://pkg.go.dev/github.com/oauth2-proxy/oauth2-proxy/v7 | Product Third Party Advisory |