Improper Input Validation in GitLab Runner
CVE-2022-2251
Key Information:
- Vendor
Gitlab
- Status
- CVE ID
- CVE ID:
- CVE-2022-2251
- Vendor
- CVE Published:
- 17 January 2023
- Fixed in
- Fixed in:
- 15.3.5, 15.4, 15.4.4, 15.5, 15.5.2
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Check today
Find out if you're affected. If you are, patch.
What to do
1Update to a fixed version
Install the GitLab Runner release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach GitLab Runner. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Check today"
- Its CVSS severity is high (8).
What is CVE-2022-2251?
The security flaw in GitLab Runner arises from inadequate sanitization of branch names, which may allow an attacker to create a branch with a carefully crafted name. If another user subsequently triggers a pipeline related to this branch, malicious commands could be executed within the context of that user's environment, leading to unauthorized actions. This vulnerability affects multiple versions of GitLab Runner and underscores the necessity of proper input validation mechanisms to mitigate such risks.
References
More Gitlab Vulnerabilities
Integer Overflow Vulnerability in GitLab CE/EE Affects Multiple Versions
Arbitrary Code Execution Vulnerability in GitLab CE/EE
Arbitrary Command Execution Vulnerability in GitLab AI Gateway Component
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction