PT-2021-14486 · Unknown · Oauth2 Proxy
Bohrasd
+1
·
Published
2021-03-26
·
Updated
2025-08-19
·
CVE-2021-21411
CVSS v3.1
5.5
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
OAuth2-Proxy versions 7.0.0 through 7.0.x
Description
The
--gitlab-group flag for group-based authorization in the GitLab provider stopped working, allowing any authenticated users to access applications regardless of --gitlab-group membership restrictions. This issue impacts GitLab Provider users who rely on group membership for authorization restrictions. The problem arose from a bug introduced while adding GitLab project-based authorization support, where the user session's groups field was populated with the --gitlab-group config entries instead of the individual user's group membership from the GitLab Userinfo endpoint.Recommendations
For OAuth2-Proxy versions 7.0.0 through 7.0.x, update to version 7.1.0 to resolve the issue.
As a temporary workaround, consider setting
--gitlab-project to use Project membership as the authorization checks instead of groups, as this feature is not affected by the bug.Fix
Incorrect Authorization
Improper Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Oauth2 Proxy