CVE-2024-8641: Privilege Context Switching Error in GitLab

Published Sep 11, 2024
·
Updated

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.2. It may have been possible for an attacker with a victim's CIJOBTOKEN to obtain a GitLab session token belonging to the victim.

Other sources

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.1.7, from 17.2 prior to 17.2.5, and from 17.3 prior to 17.3.2. It may have been possible for an attacker with a victim’s CIJOBTOKEN to obtain a GitLab session token belonging to the victim. This is a medium severity issue (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L, 6.7). It is now mitigated in the latest release and is assigned CVE-2024-8641.

GitLab

Affected Software

7 affected componentsFixes available
GitLab GitLab>=13.7.0<17.1.7
GitLab GitLab>=13.7.0<17.1.7
GitLab GitLab>=17.2.0<17.2.5
GitLab GitLab>=17.2.0<17.2.5
GitLab GitLab>=17.3.0<17.3.2
GitLab GitLab>=17.3.0<17.3.2
GitLab GitLab>=13.7<17.1.7, >=17.2<17.2.5, >=17.3<17.3.2
17.1.717.2.517.3.2

Remediation

Information

Upgrade to version 17.1.7, 17.2.5 or 17.3.2

Event History

Sep 12, 2024
CVE Published
via MITRE·06:26 PM
Data Sourced
via MITRE·06:26 PM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software
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-8641?

CVE-2024-8641 has a high severity rating due to the potential for unauthorized access to user sessions.

2

How do I fix CVE-2024-8641?

To fix CVE-2024-8641, upgrade GitLab to version 17.1.7 or later, 17.2.5 or later, or 17.3.2 or later.

3

What versions are affected by CVE-2024-8641?

CVE-2024-8641 affects all GitLab versions starting from 13.7 up to but not including 17.1.7, 17.2.5, and 17.3.2.

4

Who can exploit CVE-2024-8641?

An attacker with a victim's CI_JOB_TOKEN could exploit CVE-2024-8641 to obtain a session token.

5

Is there a workaround for CVE-2024-8641?

There is no public workaround for CVE-2024-8641; upgrading to a fixed version is the only mitigation.

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