
Cloud Vulnerability DB
A community-led vulnerabilities database
A command injection vulnerability (CVE-2022-2251) was discovered 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. The vulnerability stems from improper sanitization of branch names in GitLab Runner, which could allow a malicious user to execute arbitrary commands in the runner environment (GitLab Security, CVE Mitre).
The vulnerability exists due to insufficient sanitization of branch names in GitLab Runner's command processing. When a user creates a branch with a specially crafted name containing shell command injection characters, these commands could be executed when another user triggers a pipeline. The vulnerability is rated as medium severity with a CVSS score of 4.8 (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N) (GitLab Security).
The vulnerability allows an attacker to execute commands in the runner environment with the permissions of the user triggering the pipeline. This could potentially lead to unauthorized access to sensitive information or system compromise within the CI/CD environment (GitLab Runner Issue).
GitLab has addressed this vulnerability in versions 15.3.5, 15.4.4, and 15.5.2. Users are strongly recommended to upgrade to these or later versions to mitigate the risk. The fix involves proper sanitization of branch names to prevent command injection attacks (GitLab Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."