CVE-2024-3958 Improper Control of Generation of Code ('Code Injection') in GitLab
MediumCVSS 6.5
EPSS 0.32%
- Published
- Updated
- Exploit status
- No public exploit known
Description
An issue has been discovered in GitLab CE/EE affecting all versions before 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. An issue was found that allows someone to abuse a discrepancy between the Web application display and the git command line interface to social engineer victims into cloning non-trusted code.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitlab | < 17.0.6 | 17.0.6 |
| gitlab | >= 17.1, < 17.1.4 | 17.1.4 |
| gitlab | >= 17.2, < 17.2.2 | 17.2.2 |
| gitlab | >= 17.1.0, < 17.1.4 | 17.1.4 |
| gitlab | >= 17.2.0, < 17.2.2 | 17.2.2 |
References
- GitLab Issue #456988 broken-link issue-tracking permissions-required
- HackerOne Bug Bounty Report #2437784 exploit permissions-required technical-description
- GitLab Patch Release: 17.2.2, 17.1.4, 17.0.6 vendor-advisory