CVE Vulnerabilities

CVE-2024-8641

Privilege Context Switching Error

Published: Sep 12, 2024 | Modified: Nov 21, 2024
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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 victims CI_JOB_TOKEN to obtain a GitLab session token belonging to the victim.

Weakness

The product does not properly manage privileges while it is switching between different contexts that have different privileges or spheres of control.

Affected Software

NameVendorStart VersionEnd Version
GitlabGitlab13.7.0 (including)17.1.7 (excluding)
GitlabGitlab17.2.0 (including)17.2.5 (excluding)
GitlabGitlab17.3.0 (including)17.3.2 (excluding)
GitlabUbuntuesm-apps/xenial*
GitlabUbuntuupstream*

Potential Mitigations

References