{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"state":"PUBLISHED","cveId":"CVE-2022-2251","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","assignerShortName":"GitLab","dateUpdated":"2025-04-08T18:20:55.756Z","dateReserved":"2022-06-29T00:00:00.000Z","datePublished":"2023-01-17T00:00:00.000Z"},"containers":{"cna":{"providerMetadata":{"orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","shortName":"GitLab","dateUpdated":"2023-01-17T00:00:00.000Z"},"descriptions":[{"lang":"en","value":"Improper sanitization of branch names in GitLab Runner affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2 allows a user who creates a branch with a specially crafted name and gets another user to trigger a pipeline to execute commands in the runner as that other user."}],"affected":[{"vendor":"GitLab","product":"GitLab Runner","versions":[{"version":"<15.3.5","status":"affected"},{"version":">=15.4, <15.4.4","status":"affected"},{"version":">=15.5, <15.5.2","status":"affected"}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386"},{"url":"https://hackerone.com/reports/1063511"},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json"}],"credits":[{"lang":"en","value":"Thanks [stanlyoncm](https://hackerone.com/stanlyoncm) for reporting this vulnerability through our HackerOne bug bounty program"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"Improper neutralization of special elements used in an os command ('os command injection') in GitLab Runner"}]}]},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T00:32:09.572Z"},"title":"CVE Program Container","references":[{"url":"https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386","tags":["x_transferred"]},{"url":"https://hackerone.com/reports/1063511","tags":["x_transferred"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json","tags":["x_transferred"]}]},{"problemTypes":[{"descriptions":[{"type":"CWE","cweId":"CWE-78","lang":"en","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-08T18:20:33.707879Z","id":"CVE-2022-2251","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-04-08T18:20:55.756Z"}}]}}