Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-21411

5.5 · MEDIUM
Published Mar 26, 2021 oauth2_proxy_project CWE-863 EPSS 0.99% (60th pctl)

Overview

CVE-2021-21411 is a medium-severity vulnerability affecting oauth2_proxy_project oauth2_proxy. It was published on March 26, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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 author

Remediation

Check the references section for vendor advisories and patches from oauth2_proxy_project. Update oauth2_proxy to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
oauth2_proxy_project oauth2_proxy >= 7.0.0, < 7.1.0 Affected

Frequently Asked Questions

What is CVE-2021-21411?

CVE-2021-21411 is a medium-severity vulnerability affecting oauth2_proxy_project oauth2_proxy. It was published on March 26, 2021 and has a CVSS 3.1 base score of 5.5 (MEDIUM).

How severe is CVE-2021-21411?

This vulnerability has a CVSS 3.1 base score of 5.5, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-21411?

Check the references section for vendor advisories and patches from oauth2_proxy_project. Update oauth2_proxy to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-21411?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-21411 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.