Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Runner | < 15.3.5 |
Related Weaknesses (CWE)
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386ExploitIssue TrackingVendor Advisory
- https://hackerone.com/reports/1063511Permissions RequiredThird Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386ExploitIssue TrackingVendor Advisory
- https://hackerone.com/reports/1063511Permissions RequiredThird Party Advisory
FAQ
What is CVE-2022-2251?
CVE-2022-2251 is a vulnerability with a CVSS score of 4.8 (MEDIUM). 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 crafte...
How severe is CVE-2022-2251?
CVE-2022-2251 has been rated MEDIUM with a CVSS base score of 4.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-2251?
Check the references section above for vendor advisories and patch information. Affected products include: Gitlab Runner.