Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22240

Improper access control in GitLab EE versions 13.11.6, 13.12.6, and 14.0.2 allows users to be created via single sign on despite user cap being enabled

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22240
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:15 UTC · Revision 1

Source evidence

CVE-2021-22240

core-osv · Original source

Published 5 Aug 2021, 20:15 UTC

Improper access control in GitLab EE versions 13.11.6, 13.12.6, and 14.0.2 allows users to be created via single sign on despite user cap being enabled

osv:CVE-2021-22240
Complete source record
{
  "id": "0cc305a85336e10f918096367aa88554ff657fb10b10dd9b821c14e47b306642",
  "url": "https://osv.dev/vulnerability/CVE-2021-22240",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22240",
    "summary": "Improper access control in GitLab EE versions 13.11.6, 13.12.6, and 14.0.2 allows users to be created via single sign on despite user cap being enabled",
    "evidence": "osv:CVE-2021-22240",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22240",
      "aliases": [
        "BIT-gitlab-2021-22240",
        "CVE-2021-22240"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "036576a25d67513637c1e2cba5859af47695188e"
                },
                {
                  "fixed": "c97463266eba228cdd87a62b1289bf372c1b3866"
                },
                {
                  "introduced": "12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"
                },
                {
                  "fixed": "088a665feba19e15cff694d69fc920197286678b"
                },
                {
                  "introduced": "0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"
                },
                {
                  "fixed": "2504e045362c0930170ea2f9bfd0d1e4d143a817"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.7.0"
                      },
                      {
                        "fixed": "13.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "14.0.0"
                      },
                      {
                        "fixed": "14.0.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v13.12.5-ee",
            "v14.0.1-ee",
            "v14.0.0-ee",
            "v13.12.4-ee",
            "v13.12.3-ee",
            "v13.12.1-ee",
            "v13.12.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22240.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:57.447615502Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22240.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/327641",
        "https://hackerone.com/reports/1166566"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22240",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431557,
  "published_at": "2021-08-05T20:15:07.783+00:00"
}