CVE-2024-11222: Time-of-check Time-of-use (TOCTOU) Race Condition in GitLab
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 13.0 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that under certain conditions could have allowed a developer user to perform actions in the context of another user's merge request commit due to a race condition issue in pipeline creation.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 19.1.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 19.2.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 19.3.2
Event History
Frequently Asked Questions
Which deployments are affected?
GitLab CE/EE is affected from version 13.0 up to, but not including, 19.1.8, 19.2.6, or 19.3.2, depending on the release line in use.
What access and conditions does an attacker need?
Exploitation requires a developer-level user account and user interaction. The issue is tied to a race condition during pipeline creation and occurs only under certain conditions.
What could a successful attacker do?
A developer could perform actions in the context of another user's merge request commit. The reported impact includes high confidentiality and integrity impact, with no availability impact.