CVE-2024-6502: Incorrect Provision of Specified Functionality in GitLab

Published Aug 21, 2024
·
Updated

An issue was discovered in GitLab CE/EE affecting all versions starting from 8.2 prior to 17.1.6 starting from 17.2 prior to 17.2.4, and starting from 17.3 prior to 17.3.1, which allows an attacker to create a branch with the same name as a deleted tag.

Affected Software

7 affected componentsFixes available
GitLab GitLab>=8.2.0<17.1.6
GitLab GitLab>=17.2.0<17.2.4
GitLab GitLab>=17.3.0<17.3.1
GitLab GitLab>=8.2.0<17.1.6
GitLab GitLab>=17.2.0<17.2.4
GitLab GitLab>=17.3.0<17.3.1
GitLab GitLab>=8.2<17.1.6, >=17.2<17.2.4, >=17.3<17.3.1
17.1.617.2.417.3.1

Remediation

Information

Upgrade to versions 17.1.6, 17.2.4, 17.3.1 or above.

Event History

Aug 22, 2024
CVE Published
via MITRE·03:30 PM
Data Sourced
via MITRE·03:30 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2024-6502?

CVE-2024-6502 is classified as a moderate severity vulnerability due to its potential to disrupt branch management in GitLab.

2

How do I fix CVE-2024-6502?

To mitigate CVE-2024-6502, upgrade GitLab to version 17.1.6 or later, 17.2.4 or later, or 17.3.1 or later.

3

Which versions of GitLab are affected by CVE-2024-6502?

CVE-2024-6502 affects GitLab CE/EE versions from 8.2 up to, but not including, 17.1.6, 17.2.0 to 17.2.4, and 17.3.0 to 17.3.1.

4

What is the nature of the vulnerability in CVE-2024-6502?

CVE-2024-6502 allows an attacker to create a branch with the same name as a deleted tag, potentially leading to confusion and unauthorized access.

5

Does CVE-2024-6502 affect both GitLab CE and EE?

Yes, CVE-2024-6502 affects both GitLab Community Edition (CE) and Enterprise Edition (EE) across the specified versions.

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