CVE-2024-12570
JSON

6.7medium

Privilege Context Switching Error in GitLab

Severity
6.7medium CVSS:3.1 by GitLab
Exploit likelihood
0.55% (higher than 47% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitLab
Also known as
BIT-GITLAB-2024-12570

Description

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.4.6, from 17.5 prior to 17.5.4, and from 17.6 prior to 17.6.2. It may have been possible for an attacker with a victim's `CI_JOB_TOKEN` to obtain a GitLab session token belonging to the victim.

Affected

Product or packageVersionsReported by
GitLab GitLabfrom 13.7 before 17.4.6, from 17.5 before 17.5.4, from 17.6 before 17.6.2, from 13.7.0 before 17.4.6, from 17.5.0 before 17.5.4, from 17.6.0 before 17.6.2CVE List, NVD
gitlab (Bitnami)from 13.7.0 before 17.4.6, from 17.5.0 before 17.5.4, from 17.6.0 before 17.6.2Bitnami Vulnerability Database

All scores

GitLab6.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L
Bitnami Vulnerability Databasemedium rating

Classification

CWE-270

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to 17.4.6, from 17.5 prior to 17.5.4, and from 17.6 prior to 17.6.2. It may have been possible for an attacker with a victim's `CI_JOB_TOKEN` to obtain a GitLab session token belonging to the victim.

NVD (es)

Se ha descubierto un problema en GitLab CE/EE que afecta a todas las versiones a partir de la 13.7 anterior a la 17.4.6, de la 17.5 anterior a la 17.5.4 y de la 17.6 anterior a la 17.6.2. Es posible que un atacante con el `CI_JOB_TOKEN` de una víctima haya podido obtener un token de sesión de GitLab perteneciente a la víctima.

References

https://gitlab.com/gitlab-org/gitlab/-/issues/494694advisory, exploit, issue-tracking, permissions-required, vendor-advisory
https://hackerone.com/reports/2724948exploit, permissions-required, technical-description, web
https://nvd.nist.gov/vuln/detail/CVE-2024-12570web

Sources

SourceRecordLicence
CVE ListCVE-2024-12570 changed 2024-12-17CVE Terms of Use
NVDCVE-2024-12570 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2024-12570 changed 2026-09-08Apache-2.0