<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">CVE-2021-21411</DocumentTitle>
  <DocumentType>SUSE CVE</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE CVE-2021-21411</ID>
    </Identification>
    <Status>Interim</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>5</Number>
        <Date>2026-03-05T05:26:44Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2025-08-14T01:10:58Z</InitialReleaseDate>
    <CurrentReleaseDate>2026-03-05T05:26:44Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf-cve.pl</Engine>
      <Date>2020-12-27T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="CVE" Type="Summary" Ordinal="1" xml:lang="en">CVE-2021-21411</Note>
    <Note Title="Mitre CVE Description" Type="Description" Ordinal="2" xml:lang="en">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.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="4" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
  </DocumentNotes>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-updates/2025-August/041294.html</URL>
      <Description>E-Mail link for SUSE-SU-2025:02912-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="Container suse/sl-micro/6.0/base-os-container:latest">
      <Branch Type="Product Name" Name="Container suse/sl-micro/6.0/base-os-container:latest">
        <FullProductName ProductID="Container suse/sl-micro/6.0/base-os-container:latest">Container suse/sl-micro/6.0/base-os-container:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Container suse/sl-micro/6.0/toolbox:latest">
      <Branch Type="Product Name" Name="Container suse/sl-micro/6.0/toolbox:latest">
        <FullProductName ProductID="Container suse/sl-micro/6.0/toolbox:latest">Container suse/sl-micro/6.0/toolbox:latest</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SL-Micro">
      <Branch Type="Product Name" Name="Image SL-Micro">
        <FullProductName ProductID="Image SL-Micro">Image SL-Micro</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro">
      <Branch Type="Product Name" Name="Image SLE-Micro">
        <FullProductName ProductID="Image SLE-Micro">Image SLE-Micro</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-Azure">
      <Branch Type="Product Name" Name="Image SLE-Micro-Azure">
        <FullProductName ProductID="Image SLE-Micro-Azure">Image SLE-Micro-Azure</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-BYOS">
      <Branch Type="Product Name" Name="Image SLE-Micro-BYOS">
        <FullProductName ProductID="Image SLE-Micro-BYOS">Image SLE-Micro-BYOS</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-BYOS-Azure">
      <Branch Type="Product Name" Name="Image SLE-Micro-BYOS-Azure">
        <FullProductName ProductID="Image SLE-Micro-BYOS-Azure">Image SLE-Micro-BYOS-Azure</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-BYOS-EC2">
      <Branch Type="Product Name" Name="Image SLE-Micro-BYOS-EC2">
        <FullProductName ProductID="Image SLE-Micro-BYOS-EC2">Image SLE-Micro-BYOS-EC2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-BYOS-GCE">
      <Branch Type="Product Name" Name="Image SLE-Micro-BYOS-GCE">
        <FullProductName ProductID="Image SLE-Micro-BYOS-GCE">Image SLE-Micro-BYOS-GCE</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-EC2">
      <Branch Type="Product Name" Name="Image SLE-Micro-EC2">
        <FullProductName ProductID="Image SLE-Micro-EC2">Image SLE-Micro-EC2</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="Image SLE-Micro-GCE">
      <Branch Type="Product Name" Name="Image SLE-Micro-GCE">
        <FullProductName ProductID="Image SLE-Micro-GCE">Image SLE-Micro-GCE</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 16.0">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 16.0">
        <FullProductName ProductID="SUSE Linux Enterprise Server 16.0" CPE="cpe:/o:suse:sles:16:16.0:server">SUSE Linux Enterprise Server 16.0</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="openSUSE Tumbleweed">
      <Branch Type="Product Name" Name="openSUSE Tumbleweed">
        <FullProductName ProductID="openSUSE Tumbleweed" CPE="cpe:/o:opensuse:tumbleweed">openSUSE Tumbleweed</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ca-certificates-mozilla-2.84-slfo.1.1_1.1">
      <FullProductName ProductID="ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="govulncheck-vulndb-0.0.20250811T192933-1.1">
      <FullProductName ProductID="govulncheck-vulndb-0.0.20250811T192933-1.1">govulncheck-vulndb-0.0.20250811T192933-1.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="govulncheck-vulndb-0.0.20250814T182633-160000.1.2">
      <FullProductName ProductID="govulncheck-vulndb-0.0.20250814T182633-160000.1.2">govulncheck-vulndb-0.0.20250814T182633-160000.1.2</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="shim-15.8-1.1">
      <FullProductName ProductID="shim-15.8-1.1" CPE="cpe:2.3:a:redhat:shim:15.8:*:*:*:*:*:*:*">shim-15.8-1.1</FullProductName>
    </Branch>
    <Relationship ProductReference="ca-certificates-mozilla-2.84-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/sl-micro/6.0/base-os-container:latest">
      <FullProductName ProductID="Container suse/sl-micro/6.0/base-os-container:latest:ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1 as a component of Container suse/sl-micro/6.0/base-os-container:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/sl-micro/6.0/base-os-container:latest">
      <FullProductName ProductID="Container suse/sl-micro/6.0/base-os-container:latest:shim-15.8-1.1">shim-15.8-1.1 as a component of Container suse/sl-micro/6.0/base-os-container:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="ca-certificates-mozilla-2.84-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="Container suse/sl-micro/6.0/toolbox:latest">
      <FullProductName ProductID="Container suse/sl-micro/6.0/toolbox:latest:ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1 as a component of Container suse/sl-micro/6.0/toolbox:latest</FullProductName>
    </Relationship>
    <Relationship ProductReference="ca-certificates-mozilla-2.84-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="Image SL-Micro">
      <FullProductName ProductID="Image SL-Micro:ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1 as a component of Image SL-Micro</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SL-Micro">
      <FullProductName ProductID="Image SL-Micro:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SL-Micro</FullProductName>
    </Relationship>
    <Relationship ProductReference="ca-certificates-mozilla-2.84-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro">
      <FullProductName ProductID="Image SLE-Micro:ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1 as a component of Image SLE-Micro</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro">
      <FullProductName ProductID="Image SLE-Micro:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-Azure">
      <FullProductName ProductID="Image SLE-Micro-Azure:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-Azure</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-BYOS">
      <FullProductName ProductID="Image SLE-Micro-BYOS:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-BYOS</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-BYOS-Azure">
      <FullProductName ProductID="Image SLE-Micro-BYOS-Azure:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-BYOS-Azure</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-BYOS-EC2">
      <FullProductName ProductID="Image SLE-Micro-BYOS-EC2:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-BYOS-EC2</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-BYOS-GCE">
      <FullProductName ProductID="Image SLE-Micro-BYOS-GCE:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-BYOS-GCE</FullProductName>
    </Relationship>
    <Relationship ProductReference="ca-certificates-mozilla-2.84-slfo.1.1_1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-EC2">
      <FullProductName ProductID="Image SLE-Micro-EC2:ca-certificates-mozilla-2.84-slfo.1.1_1.1">ca-certificates-mozilla-2.84-slfo.1.1_1.1 as a component of Image SLE-Micro-EC2</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-EC2">
      <FullProductName ProductID="Image SLE-Micro-EC2:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-EC2</FullProductName>
    </Relationship>
    <Relationship ProductReference="shim-15.8-1.1" RelationType="Default Component Of" RelatesToProductReference="Image SLE-Micro-GCE">
      <FullProductName ProductID="Image SLE-Micro-GCE:shim-15.8-1.1">shim-15.8-1.1 as a component of Image SLE-Micro-GCE</FullProductName>
    </Relationship>
    <Relationship ProductReference="govulncheck-vulndb-0.0.20250814T182633-160000.1.2" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 16.0">
      <FullProductName ProductID="SUSE Linux Enterprise Server 16.0:govulncheck-vulndb-0.0.20250814T182633-160000.1.2">govulncheck-vulndb-0.0.20250814T182633-160000.1.2 as a component of SUSE Linux Enterprise Server 16.0</FullProductName>
    </Relationship>
    <Relationship ProductReference="govulncheck-vulndb-0.0.20250811T192933-1.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Tumbleweed">
      <FullProductName ProductID="openSUSE Tumbleweed:govulncheck-vulndb-0.0.20250811T192933-1.1">govulncheck-vulndb-0.0.20250811T192933-1.1 as a component of openSUSE Tumbleweed</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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.</Note>
    </Notes>
    <CVE>CVE-2021-21411</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>Container suse/sl-micro/6.0/base-os-container:latest:ca-certificates-mozilla-2.84-slfo.1.1_1.1</ProductID>
        <ProductID>Container suse/sl-micro/6.0/base-os-container:latest:shim-15.8-1.1</ProductID>
        <ProductID>Container suse/sl-micro/6.0/toolbox:latest:ca-certificates-mozilla-2.84-slfo.1.1_1.1</ProductID>
        <ProductID>Image SL-Micro:ca-certificates-mozilla-2.84-slfo.1.1_1.1</ProductID>
        <ProductID>Image SL-Micro:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro:ca-certificates-mozilla-2.84-slfo.1.1_1.1</ProductID>
        <ProductID>Image SLE-Micro:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-Azure:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-BYOS:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-BYOS-Azure:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-BYOS-EC2:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-BYOS-GCE:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-EC2:ca-certificates-mozilla-2.84-slfo.1.1_1.1</ProductID>
        <ProductID>Image SLE-Micro-EC2:shim-15.8-1.1</ProductID>
        <ProductID>Image SLE-Micro-GCE:shim-15.8-1.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server 16.0:govulncheck-vulndb-0.0.20250814T182633-160000.1.2</ProductID>
        <ProductID>openSUSE Tumbleweed:govulncheck-vulndb-0.0.20250811T192933-1.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>5.5</BaseScoreV2>
        <VectorV2>AV:N/AC:L/Au:S/C:P/I:P/A:N</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>5.5</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
  </Vulnerability>
</cvrfdoc>
