{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "fixed": "17.10.8"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "66f725cc002c2eee98e0cfee8521025dd7a4eb6e"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "17.11"
              },
              {
                "fixed": "17.11.4"
              }
            ]
          },
          "events": [
            {
              "introduced": "b7c061ce59a5eca5c5764fcf61be8a5103fb7d55"
            },
            {
              "fixed": "eb2929592bc8e3c7b766d886766a098f10b33eb1"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        },
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "18.0"
              },
              {
                "fixed": "18.0.2"
              }
            ]
          },
          "events": [
            {
              "introduced": "504fd9e5236e13d674e051c6b8a1e9892b371c58"
            },
            {
              "fixed": "073fca15cf94474af5984eda431aefd84307ec03"
            }
          ],
          "repo": "https://gitlab.com/gitlab-org/gitlab",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitLab",
    "cwe_ids": [
      "CWE-367"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9512.json"
  },
  "details": "An issue has been discovered in GitLab EE affecting all versions prior to 17.10.8, 17.11 prior to 17.11.4, and 18.0 prior to 18.0.2. It may have been possible for private repository to be cloned in case of race condition when a secondary node is out of sync.",
  "id": "CVE-2024-9512",
  "modified": "2026-04-01T23:10:38.380930085Z",
  "published": "2025-06-12T14:02:55.123Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/9xxx/CVE-2024-9512.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-9512"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.com/gitlab-org/gitlab/-/issues/497748"
    },
    {
      "type": "REPORT",
      "url": "https://hackerone.com/reports/2683469"
    },
    {
      "type": "PACKAGE",
      "url": "git://git@gitlab.com:gitlab-org/gitlab.git"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab"
}