CVE-2024-0231: Improper Control of Resource Identifiers ('Resource Injection') in GitLab

Published Jul 24, 2024
·
Updated

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

7 affected componentsFixes available
GitLab GitLab>=12.0.0<17.0.5
GitLab GitLab>=12.0.0<17.0.5
GitLab GitLab>=17.1.0<17.1.3
GitLab GitLab>=17.1.0<17.1.3
GitLab GitLab=17.2.0
GitLab GitLab=17.2.0
GitLab GitLab>=12.0<17.0.5, >=17.1<17.1.3, >=17.2<17.2.1
17.0.517.1.317.2.1

Remediation

Information

Upgrade to versions 17.0.5, 17.1.3, 17.2.1 or above.

Event History

Jul 24, 2024
CVE Published
via MITRE·10:08 PM
Data Sourced
via MITRE·10:08 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203