Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-3820

An issue has been discovered in GitLab affecting all versions starting from 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. GitLab was not performing correct authentication with some Package Registries when IP address restrictions were configured, allowing an attacker already in possession of a valid Deploy Token to misuse it from any location.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-3820
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:30 UTC · Revision 1

Source evidence

CVE-2022-3820

core-osv · Original source

Published 24 Jan 2023, 00:00 UTC

An issue has been discovered in GitLab affecting all versions starting from 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. GitLab was not performing correct authentication with some Package Registries when IP address restrictions were configured, allowing an attacker already in possession of a valid Deploy Token to misuse it from any location.

osv:CVE-2022-3820
Complete source record
{
  "id": "af933b1ca6ccfd9e011ed80234fb1b0924228ed5e4ac6edf06181f07f28da9cb",
  "url": "https://osv.dev/vulnerability/CVE-2022-3820",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-3820",
    "summary": "An issue has been discovered in GitLab affecting all versions starting from 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. GitLab was not performing correct authentication with some Package Registries when IP address restrictions were configured, allowing an attacker already in possession of a valid Deploy Token to misuse it from any location.",
    "evidence": "osv:CVE-2022-3820",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-3820",
      "aliases": [
        "BIT-gitlab-2022-3820",
        "CVE-2022-3820"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "abbda55531f0a9d630eee1dcf2305ca499c94116"
                },
                {
                  "fixed": "4fc991ae59a1eea8f776ef290e8da400331ba5b9"
                },
                {
                  "introduced": "af0fced4dd2e767d361f2bdc0732be15ad2c1026"
                },
                {
                  "fixed": "5f5109f142d0367fad70ccdb8f7f21e4b5f3c92a"
                },
                {
                  "introduced": "07a0843ad18ecb422cdc61bf3c2ef0a9dc58a209"
                },
                {
                  "last_affected": "07a0843ad18ecb422cdc61bf3c2ef0a9dc58a209"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.4.0"
                      },
                      {
                        "fixed": "15.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.4.0"
                      },
                      {
                        "fixed": "15.4.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.5.0"
                      },
                      {
                        "fixed": "15.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.5.0"
                      },
                      {
                        "fixed": "15.5.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:15.6.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6.0"
                      },
                      {
                        "last_affected": "15.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:15.6.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "15.6.0"
                      },
                      {
                        "last_affected": "15.6.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "15.6.0",
            "v15.6.0-ee",
            "v15.5.4-ee",
            "v15.4.5-ee",
            "v15.5.3-ee",
            "v15.4.3-ee",
            "v15.5.1-ee",
            "v15.4.2-ee",
            "v15.5.0-ee",
            "v15.4.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3820.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.319893453Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-3820.json",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3820.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-3820",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/378638"
      ],
      "provider_metadata": {
        "cna_assigner": "GitLab",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3820.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-3820",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 517375,
  "published_at": "2023-01-24T00:00:00+00:00"
}