{"id":"CVE-2024-8641","state":"PUBLISHED","title":"Privilege Context Switching Error in GitLab","description":"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 CI_JOB_TOKEN to obtain a GitLab session token belonging to the victim.","publishedAt":"2024-09-12T18:26:18.243Z","updatedAt":"2024-09-13T14:10:32.415Z","severity":{"score":6.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"13.7","status":"affected","lessThan":"17.1.7","versionType":"semver"},{"version":"17.2","status":"affected","lessThan":"17.2.5","versionType":"semver"},{"version":"17.3","status":"affected","lessThan":"17.3.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/471954","https://hackerone.com/reports/2595495","https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/"],"weaknesses":["CWE-270"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8641.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8641","state":"PUBLISHED","datePublished":"2024-09-12T18:26:18.243Z","dateUpdated":"2024-09-13T14:10:32.415Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2024-09-09T23:02:07.508Z"},"containers":{"cna":{"title":"Privilege Context Switching Error in GitLab","descriptions":[{"lang":"en","value":"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 CI_JOB_TOKEN to obtain a GitLab session token belonging to the victim."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"13.7","status":"affected","lessThan":"17.1.7","versionType":"semver"},{"version":"17.2","status":"affected","lessThan":"17.2.5","versionType":"semver"},{"version":"17.3","status":"affected","lessThan":"17.3.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/471954","name":"GitLab Issue #471954","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/2595495","name":"HackerOne Bug Bounty Report #2595495","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"LOW","baseScore":6.7,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-270","lang":"en","description":"CWE-270: Privilege Context Switching Error","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2024-09-12T18:26:18.243Z"},"solutions":[{"lang":"en","value":"Upgrade to version 17.1.7, 17.2.5 or 17.3.2"}],"credits":[{"lang":"en","value":"Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-12T18:49:49.073195Z","id":"CVE-2024-8641","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T18:50:28.115Z"}},{"title":"CVE Program Container","references":[{"url":"https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-13T14:10:32.415Z"}}]}}}