{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "11.4"
              },
              {
                "fixed": "17.2.9"
              }
            ]
          },
          "events": [
            {
              "introduced": "cfe266cbac3c5d413e9c061fff420630e517005f"
            },
            {
              "fixed": "91146650fd2d7d080662a536b1d04a5c96f451be"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.3"
              },
              {
                "fixed": "17.3.5"
              }
            ]
          },
          "events": [
            {
              "introduced": "5aad128b1defa01641e69fdcd5a2ec16bd1d4c2c"
            },
            {
              "fixed": "9048fbf917815f5283436f14b221cbf91a24c63b"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.4"
              },
              {
                "fixed": "17.4.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "22193b3da887c1fa5e49021fa8f87b74e6539a7a"
            },
            {
              "fixed": "e85e7bae1a93d7b8faa2842423a4ffea2db86e87"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-684"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5005.json"
  },
  "details": "An issue has been discovered discovered in GitLab EE/CE affecting all versions starting from 11.4 before 17.2.9, all versions starting from 17.3 before 17.3.5, all versions starting from 17.4 before 17.4.2 It was possible for guest users to disclose project templates using the API.",
  "id": "CVE-2024-5005",
  "modified": "2026-04-01T23:09:26.285362280Z",
  "published": "2024-10-11T11:30:57.104Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5005.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-5005"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/462108"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2501461"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Incorrect Provision of Specified Functionality in GitLab"
}