PT-2021-14486

CVE-2021-21411

·

Published

2021-03-26

·

Updated

2025-08-19

Description by

CVSS 3.1
5.5
Medium
MetricsAV: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.
Exploitability
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-652X-M2GR-HPPM
BIT-OAUTH2-PROXY-2021-21411
GO-2025-3832
OPENSUSE-SU-2025:15434-1
SUSE-SU-2025:02912-1
Found an issue in the description? Have something to add? Feel free to write us 👾