{"id":"CVE-2024-5258","state":"PUBLISHED","title":"Authorization Bypass Through User-Controlled Key in GitLab","description":"An authorization vulnerability exists within GitLab from versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 where an authenticated attacker could utilize a crafted naming convention to bypass pipeline authorization logic.","publishedAt":"2024-05-23T11:02:06.904Z","updatedAt":"2024-08-29T15:04:59.201Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"16.10","status":"affected","lessThan":"16.10.6","versionType":"semver"},{"version":"16.11","status":"affected","lessThan":"16.11.3","versionType":"semver"},{"version":"17.0","status":"affected","lessThan":"17.0.1","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/443254"],"weaknesses":["CWE-639"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/5xxx/CVE-2024-5258.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-5258","state":"PUBLISHED","datePublished":"2024-05-23T11:02:06.904Z","dateUpdated":"2024-08-29T15:04:59.201Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2024-05-23T06:30:45.483Z"},"containers":{"cna":{"title":"Authorization Bypass Through User-Controlled Key in GitLab","descriptions":[{"lang":"en","value":"An authorization vulnerability exists within GitLab from versions 16.10 before 16.10.6, 16.11 before 16.11.3, and 17.0 before 17.0.1 where an authenticated attacker could utilize a crafted naming convention to bypass pipeline authorization logic."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"16.10","status":"affected","lessThan":"16.10.6","versionType":"semver"},{"version":"16.11","status":"affected","lessThan":"16.11.3","versionType":"semver"},{"version":"17.0","status":"affected","lessThan":"17.0.1","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/443254","name":"GitLab Issue #443254","tags":["issue-tracking","permissions-required"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-639","description":"CWE-639: Authorization Bypass Through User-Controlled Key","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2024-08-29T15:04:59.201Z"},"credits":[{"lang":"en","type":"finder","value":"Thanks to GitLab Team Member, Andrew Winata for reporting this issue"}],"solutions":[{"lang":"en","value":"Upgrade to versions 16.10.6, 16.11.3, 17.0.1 or above"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-5258","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-05-23T15:44:35.324534Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T18:01:51.492Z"}},{"title":"CVE Program Container","references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/443254","name":"GitLab Issue #443254","tags":["issue-tracking","permissions-required","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T21:03:11.132Z"}}]}}}