CVE-2023-3401 Improper Control of Generation of Code ('Code Injection') in GitLab
MediumCVSS 6.5
EPSS 0.58%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
Description
An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitlab | < 16.0.8 | 16.0.8 |
| gitlab | >= 16.1.0, < 16.1.3 | 16.1.3 |
| gitlab | >= 16.2.0, < 16.2.2 | 16.2.2 |
| gitlab | >= 16.1, < 16.1.3 | 16.1.3 |
| gitlab | >= 16.2, < 16.2.2 | 16.2.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
- GitLab Issue #416252 broken-link issue-tracking
- HackerOne Bug Bounty Report #2031845 broken-link exploit issue-tracking permissions-required technical-description
- GitLab Security Release: 16.6.1, 16.5.3, 16.4.3 vendor-advisory
- GitLab Security Release: 16.2.2, 16.1.3, and 16.0.8 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking