Vulnerability · Published Jan 17, 2023 · Assigned by GitLab
CVE-2022-2251
Medium 4.8
In plain English
A medium-severity OS command injection in GitLab Runner from GitLab. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities).
Severity (CVSS 3.1)4.8Medium
Exploit odds (30 days)1.2%top 32.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| GitLab | GitLab Runner | <15.3.5>=15.4, <15.4.4>=15.5, <15.5.2 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N