CVE Vulnerabilities

CVE-2024-9512

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Jun 12, 2025 | Modified: Aug 08, 2025
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab * 17.10.8 (excluding)
Gitlab Gitlab 17.11.0 (including) 17.11.4 (excluding)
Gitlab Gitlab 18.0.0 (including) 18.0.2 (excluding)

Potential Mitigations

References