CVE-2023-5512 Improper Control of Generation of Code ('Code Injection') in GitLab
MediumCVSS 5.7
EPSS 0.49%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Ubuntu
Description
An issue has been discovered in GitLab CE/EE affecting all versions from 16.3 before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when specific HTML encoding is used for file names leading for incorrect representation in the UI.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gitlab | >= 16.3, < 16.4.4 | 16.4.4 |
| gitlab | >= 16.5, < 16.5.4 | 16.5.4 |
| gitlab | >= 16.6, < 16.6.2 | 16.6.2 |
| gitlab | >= 16.3.0, < 16.4.4 | 16.4.4 |
| gitlab | >= 16.5.0, < 16.5.4 | 16.5.4 |
| gitlab | >= 16.6.0, < 16.6.2 | 16.6.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 #427827 broken-link issue-tracking permissions-required
- HackerOne Bug Bounty Report #2194607 exploit permissions-required technical-description
- GitLab Security Release: 16.6.2, 16.5.4, 16.4.4 vendor-advisory
- ubuntu.com issue-tracking
- www.cve.org issue-tracking