{"id":"CVE-2024-8641","aliases":["BIT-gitlab-2024-8641","EUVD-2024-49319","GHSA-x654-52cq-hxj3","UBUNTU-CVE-2024-8641"],"status":"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.","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00579,"percentile":0.48121,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-270"],"published":"2024-09-12T18:26:18Z","modified":"2026-10-30T10:46:57Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["17.1.7","17.2.5","17.3.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.7.0"},{"fixed":"17.1.7"},{"introduced":"17.2.0"},{"fixed":"17.2.5"},{"introduced":"17.3.0"},{"fixed":"17.3.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/471954","tags":["issue-tracking","permissions-required","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/2595495","tags":["technical-description","exploit","permissions-required","Permissions Required","web","report"]},{"url":"https://about.gitlab.com/releases/2024/09/11/patch-release-gitlab-17-3-2-released/","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8641","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-x654-52cq-hxj3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8641.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2024-8641","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-8641","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2024-8641","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.","status":"published","published":"2024-09-12T18:26:18.243Z","modified":"2024-09-13T14:10:32.415Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"cna"}],"cwes":["CWE-270"],"updated_at":"2026-11-02T14:34:08.843708Z"}],"euvd":[{"id":"EUVD-2024-49319","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.","status":"published","published":"2024-09-12T18:26:18Z","modified":"2024-09-13T14:10:32Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"updated_at":"2026-11-03T00:55:55.933062Z"}],"ghsa":[{"id":"GHSA-x654-52cq-hxj3","title":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.7 prior to...","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.","status":"published","published":"2024-09-12T21:32:02Z","modified":"2024-09-12T21:32:07Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"cwes":["CWE-270"],"updated_at":"2026-11-02T14:58:15.26738Z"}],"nvd":[{"id":"CVE-2024-8641","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.","status":"published","published":"2024-09-12T19:15:04.887Z","modified":"2026-06-17T08:23:02.147Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-270"],"updated_at":"2026-11-02T14:10:26.717759Z"}],"osv":[{"id":"CVE-2024-8641","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.","status":"published","published":"2024-09-12T18:26:18.243Z","modified":"2026-10-30T10:46:57.458255403Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"cwes":["CWE-270"],"updated_at":"2026-11-02T15:44:45.405014Z"},{"id":"UBUNTU-CVE-2024-8641","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.","status":"published","published":"2024-09-12T19:15:00Z","modified":"2025-10-24T05:06:47Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L","level":"medium"}],"updated_at":"2026-11-02T16:55:18.664792Z"},{"id":"BIT-gitlab-2024-8641","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.","status":"published","published":"2024-09-14T07:05:45.323Z","modified":"2025-05-20T10:02:07.006Z","updated_at":"2026-11-02T15:28:30.70064Z"}]}}
