{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "11.3.4"
              },
              {
                "fixed": "15.1.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "14d3a1dcd514c77fbbd9646d39e3729eecf03b1c"
            },
            {
              "fixed": "0c79d82b990686515ff26b5f7f68dfd52e6d0a9f"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.2"
              },
              {
                "fixed": "15.2.3"
              }
            ]
          },
          "events": [
            {
              "introduced": "d836c22d87f6f0397b93cc72ce3af27a6dc02d93"
            },
            {
              "fixed": "3317b9ff0d3673d6a67aef803cfbb47d6889d403"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "15.3"
              },
              {
                "fixed": "15.3.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "b189ba070558de141d90142340de25bd3edcbefc"
            },
            {
              "fixed": "518311979e3d061392974d361934fcb3d8892638"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2884.json"
  },
  "details": "A vulnerability in GitLab CE/EE affecting all versions from 11.3.4 prior to 15.1.5, 15.2 to 15.2.3, 15.3 to 15.3 to 15.3.1 allows an an authenticated user to achieve remote code execution via the Import from GitHub API endpoint",
  "id": "CVE-2022-2884",
  "modified": "2026-04-01T23:09:28.849698210Z",
  "published": "2022-10-17T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "http://packetstormsecurity.com/files/171628/GitLab-15.3-Remote-Code-Execution.html"
    },
    {
      "type": "WEB",
      "url": "https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2884.json"
    },
    {
      "type": "WEB",
      "url": "https://hackerone.com/reports/1672388"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2884.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-2884"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/371098"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}