Skip to content

CVE-2023-5226 Improper Control of Generation of Code ('Code Injection') in GitLab

HighCVSS 7.5 EPSS 0.55%
Published
Updated
Exploit status
No public exploit known
Technology
Ubuntu

Description

An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.

Affected products

ProductAffected versionsFixed in
gitlab < 16.4.3 16.4.3
gitlab >= 16.5, < 16.5.3 16.5.3
gitlab >= 16.6, < 16.6.1 16.6.1
gitlab >= 16.5.0, < 16.5.3 16.5.3
gitlab = 16.6.0 No fix listed
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