Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-22228

An issue has been discovered in GitLab affecting all versions before 13.11.6, all versions starting from 13.12 before 13.12.6, and all versions starting from 14.0 before 14.0.2. Improper access control allows unauthorised users to access project details using Graphql.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-22228
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:14 UTC · Revision 1

Source evidence

CVE-2021-22228

core-osv · Original source

Published 6 Jul 2021, 22:15 UTC

An issue has been discovered in GitLab affecting all versions before 13.11.6, all versions starting from 13.12 before 13.12.6, and all versions starting from 14.0 before 14.0.2. Improper access control allows unauthorised users to access project details using Graphql.

osv:CVE-2021-22228
Complete source record
{
  "id": "07780cb1f048496d0bdf035e19751530f5fd9bcb8a17293d24c11e041d387f42",
  "url": "https://osv.dev/vulnerability/CVE-2021-22228",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-22228",
    "summary": "An issue has been discovered in GitLab affecting all versions before 13.11.6, all versions starting from 13.12 before 13.12.6, and all versions starting from 14.0 before 14.0.2. Improper access control allows unauthorised users to access project details using Graphql.",
    "evidence": "osv:CVE-2021-22228",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-22228",
      "aliases": [
        "BIT-gitlab-2021-22228",
        "CVE-2021-22228"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c97463266eba228cdd87a62b1289bf372c1b3866"
                },
                {
                  "introduced": "12a3ec8fb4a540576b2d47247bc86ea7e2c7565b"
                },
                {
                  "fixed": "088a665feba19e15cff694d69fc920197286678b"
                },
                {
                  "introduced": "0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"
                },
                {
                  "fixed": "2504e045362c0930170ea2f9bfd0d1e4d143a817"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "13.11.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "13.12.0"
                      },
                      {
                        "fixed": "13.12.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*",
                    "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.11.4-ee",
            "v13.12.1-ee",
            "v13.11.3-ee",
            "v13.12.0-ee",
            "v13.11.1-ee",
            "v13.11.0-ee",
            "v13.11.0-rc44-ee",
            "v13.11.0-rc43-ee",
            "11-10-0cfa69752d8-74ffd66ae-ee",
            "11-10-0cfa69752d8-0d9531c80-ee",
            "11-10-119f9509d50-6d7537235-ee",
            "v7.3.0-ee",
            "v7.3.0.rc1-ee",
            "v7.2.0.rc5-ee",
            "v7.2.0.rc4-ee",
            "v7.2.0.rc3-ee",
            "v7.2.0.rc2-ee",
            "v7.2.0.rc1-ee",
            "v7.1.0-ee",
            "v7.1.0.rc1-ee",
            "v7.0.0-ee",
            "v6.8.0-ee",
            "v6.7.0-ee",
            "v6.7.0.rc1-ee",
            "v6.6.0-ee",
            "v6.5.0-ee",
            "v6.4.0-ee",
            "v6.3.1-ee",
            "v6.3.0-ee",
            "v6.1.0-ee",
            "v6.0.0-ee",
            "v6.0.0-ee.rc1",
            "v6.0.0-ee.beta",
            "v5.2.0",
            "v5.1.0",
            "v5.0.0",
            "v4.0.0",
            "v4.0.0rc2",
            "v4.0.0rc1",
            "v3.1.0",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0",
            "v2.9.1",
            "v2.9.0",
            "v2.8.2",
            "v2.8.1",
            "v2.8.0",
            "v2.8.0pre",
            "v2.7.0",
            "v2.7.0pre",
            "v2.6.3",
            "v2.6.2",
            "v2.6.1",
            "v2.6.0",
            "v2.6.0pre",
            "v2.5.0",
            "v2.4.1",
            "v2.4.0",
            "v2.4.0pre",
            "v2.3.1",
            "v2.3.0",
            "v2.3.0pre",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.2.0pre"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22228.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:35.260138248Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22228.json",
        "https://hackerone.com/reports/1192460",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/332605"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-22228",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384428,
  "published_at": "2021-07-06T22:15:08.47+00:00"
}