CVE-2024-5470: Improper Access Control in GitLab

Published Jul 10, 2024
·
Updated

An issue was discovered in GitLab CE/EE affecting all versions starting from 17.0 prior to 17.0.4 and from 17.1 prior to 17.1.2 where a Guest user with adminpushrules permission may have been able to create project-level deploy tokens.

Other sources

An issue was discovered in GitLab CE/EE affecting all versions starting from 17.0 prior to 17.0.4 and from 17.1 prior to 17.1.2 where a Guest user with adminpushrules permission may have been able to create project-level deploy tokens. This is a low severity issue (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N, 3.8). It is now mitigated in the latest release and is assigned CVE-2024-5470.

GitLab

Affected Software

5 affected componentsFixes available
GitLab GitLab>=17.0.0<17.0.4
GitLab GitLab>=17.0.0<17.0.4
GitLab GitLab>=17.1.0<17.1.2
GitLab GitLab>=17.1.0<17.1.2
GitLab GitLab>=17.0<17.0.4, >=17.1<17.1.2
17.0.417.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.0.4Fixed in 17.1.2
  2. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.0.4
  3. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.1.2

Event History

Jul 11, 2024
CVE Published
via MITRE·06:57 AM
Data Sourced
via MITRE·06:57 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·07:15 AM
DescriptionSeverityWeaknessAffected Software
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-5470?

CVE-2024-5470 is classified as a high-severity vulnerability due to its potential to allow unauthorized project-level deploy token creation.

2

How do I fix CVE-2024-5470?

To fix CVE-2024-5470, upgrade to GitLab version 17.0.4 or 17.1.2 or later.

3

Who is affected by CVE-2024-5470?

CVE-2024-5470 affects all GitLab CE/EE versions starting from 17.0 prior to 17.0.4 and from 17.1 prior to 17.1.2.

4

What does CVE-2024-5470 allow an attacker to do?

CVE-2024-5470 allows a Guest user with `admin_push_rules` permission to create project-level deploy tokens.

5

When was CVE-2024-5470 disclosed?

CVE-2024-5470 was disclosed along with the affected versions of GitLab, which were identified in 2024.

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