CVE-2024-0231: Improper Control of Resource Identifiers ('Resource Injection') in GitLab
A resource misdirection vulnerability in GitLab CE/EE affecting all versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits. This is a low severity issue (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N, 2.7). It is now mitigated in the latest release and is assigned CVE-2024-0231.
Other sources
A resource misdirection vulnerability in GitLab CE/EE versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits.
— MITRE
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2024-0231?
CVE-2024-0231 is classified as a medium severity vulnerability due to its potential impact on repository integrity.
How do I fix CVE-2024-0231?
To fix CVE-2024-0231, upgrade GitLab to version 17.0.6 or later, or 17.1.4 or later, or 17.2.1 or later.
What versions of GitLab are affected by CVE-2024-0231?
CVE-2024-0231 affects GitLab CE/EE versions from 12.0 up to but not including 17.0.6, 17.1.4, and 17.2.1.
What type of vulnerability is CVE-2024-0231?
CVE-2024-0231 is a resource misdirection vulnerability that allows commits to be misdirected during a repository import.
Who can be affected by CVE-2024-0231?
Users of affected versions of GitLab CE and EE could be compromised if they use the flawed repository import feature.