CVE-2024-13041: Incorrect User Management in GitLab
An issue was discovered in GitLab CE/EE affecting all versions starting from 16.4 prior to 17.5.5, starting from 17.6 prior to 17.6.3, and starting from 17.7 prior to 17.7.1. When a user is created via the SAML provider, the external groups setting overrides the external provider configuration. As a result, the user may not be marked as external thereby giving those users access to internal projects or groups.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 17.5.5Fixed in 17.6.3Fixed in 17.7.1 - Upgrade
Upgrade
GitLab CE/EEto a version that resolves this vulnerability.Fixed in 17.7.1
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2024-13041?
CVE-2024-13041 has a moderate severity level due to the potential for improper group management when using SAML for user creation.
How do I fix CVE-2024-13041?
To mitigate CVE-2024-13041, update your GitLab CE/EE to version 17.5.5 or later, or version 17.6.3 or later, or version 17.7.1 or later.
Which versions of GitLab are affected by CVE-2024-13041?
CVE-2024-13041 affects GitLab CE/EE versions from 16.4 up to 17.5.5, from 17.6 up to 17.6.3, and from 17.7 up to 17.7.1.
What issue does CVE-2024-13041 describe?
CVE-2024-13041 describes a flaw where the external groups setting can override the external provider configuration when users are created via the SAML provider.
Is there a workaround for CVE-2024-13041?
There are no documented workarounds for CVE-2024-13041, so upgrading GitLab to the fixed versions is necessary to resolve the vulnerability.