CVE-2022-2251
4.8
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| GitLab | GitLab Runner | <15.3.5 | affected |
| GitLab | GitLab Runner | >=15.4, <15.4.4 | affected |
| GitLab | GitLab Runner | >=15.5, <15.5.2 | affected |
Weaknesses
- Improper neutralization of special elements used in an os command ('os command injection') in GitLab Runner
ADP Enrichment
CVE Program Container
Additional References
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386
- https://hackerone.com/reports/1063511
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://gitlab.com/gitlab-org/gitlab-runner/-/issues/27386
- https://hackerone.com/reports/1063511
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2251.json
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.