Skip to content

CVE-2022-2251 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...

HighCVSS 8.0 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total
Technology
Ubuntu

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.

Upgrade path

3 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/gitlab(Ubuntu 16.04) = 8.4.3+dfsg-9; = 8.4.3+dfsg-12; = 8.5.8+dfsg-5; All versions No fix listed No fix yet
gitlab runner < 15.3.5; >= 15.4.0, < 15.4.4; >= 15.5.0, < 15.5.2 15.3.5, 15.4.4, 15.5.2 Fixed
GitLab Runner = <15.3.5; = >=15.4, <15.4.4; = >=15.5, <15.5.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
GitLab Runner = <15.3.5 No fix listed
GitLab Runner = >=15.4, <15.4.4 No fix listed
GitLab Runner = >=15.5, <15.5.2 No fix listed
gitlab runner < 15.3.5 15.3.5
gitlab runner >= 15.4.0, < 15.4.4 15.4.4
gitlab runner >= 15.5.0, < 15.5.2 15.5.2
ubuntu/gitlab(Ubuntu:16.04) All versions No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.4.3+dfsg-9 No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.4.3+dfsg-12 No fix listed
ubuntu/gitlab(Ubuntu:16.04) = 8.5.8+dfsg-5 No fix listed

References