5.7medium
Improper Control of Generation of Code ('Code Injection') in GitLab
- Severity
- 5.7medium CVSS:3.1 by GitLab
- Exploit likelihood
- 0.63% (higher than 51% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2023-6051
Description
An issue has been discovered in GitLab CE/EE affecting all versions 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 source code or installation packages are pulled from a specific tag.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | before 16.4.4, from 16.5 before 16.5.4, from 16.6 before 16.6.2, from 16.5.0 before 16.5.4, from 16.6.0 before 16.6.2 | CVE List, NVD |
| gitlab (Bitnami) | before 16.4.4, from 16.5.0 before 16.5.4, from 16.6.0 before 16.6.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 5.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
An issue has been discovered in GitLab CE/EE affecting all versions 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 source code or installation packages are pulled from a specific tag.
NVD (es)
Se descubrió un problema en GitLab CE/EE que afecta a todas las versiones anteriores a 16.4.4, todas las versiones desde 15.5 anteriores a 16.5.4, todas las versiones desde 16.6 anteriores a 16.6.2. La integridad del archivo puede verse comprometida cuando el código fuente o los paquetes de instalación se extraen de una etiqueta específica.
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/431345 | broken-link, issue-tracking, web | |
| https://hackerone.com/reports/2237165 | exploit, permissions-required, technical-description, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-6051 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6051 changed 2025-11-20 | CVE Terms of Use |
| NVD | CVE-2023-6051 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2023-6051 changed 2026-09-10 | Apache-2.0 |