CVE-2024-5257: 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 Developer user with admincomplianceframework custom role may have been able to modify the URL for a group namespace.

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 Developer user with admincomplianceframework custom role may have been able to modify the URL for a group namespace. This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N, 4.9). It is now mitigated in the latest release and is assigned CVE-2024-5257.

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
  4. Upgrade

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

    Patch CVE-2024-5257

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 risk associated with CVE-2024-5257?

CVE-2024-5257 allows a Developer user with the `admin_compliance_framework` role to modify the group namespace URL, potentially leading to unauthorized access or manipulation of group settings.

2

How can I resolve CVE-2024-5257?

To fix CVE-2024-5257, update your GitLab instance to version 17.0.4 or 17.1.2 or later.

3

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

CVE-2024-5257 affects GitLab CE/EE versions from 17.0.0 up to, but not including, 17.0.4 and from 17.1.0 up to, but not including, 17.1.2.

4

Is CVE-2024-5257 critical?

The severity of CVE-2024-5257 is significant due to the potential for unauthorized URL modification by users with specific roles.

5

What user role is specifically mentioned in CVE-2024-5257?

CVE-2024-5257 specifically mentions the `admin_compliance_framework` custom role as being able to exploit the vulnerability.

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