CVE-2023-6051
JSON

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 packageVersionsReported by
GitLab GitLabbefore 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.2CVE List, NVD
gitlab (Bitnami)before 16.4.4, from 16.5.0 before 16.5.4, from 16.6.0 before 16.6.2Bitnami Vulnerability Database

All scores

GitLab5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium 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/431345broken-link, issue-tracking, web
https://hackerone.com/reports/2237165exploit, permissions-required, technical-description, web
https://nvd.nist.gov/vuln/detail/CVE-2023-6051web

Sources

SourceRecordLicence
CVE ListCVE-2023-6051 changed 2025-11-20CVE Terms of Use
NVDCVE-2023-6051 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2023-6051 changed 2026-09-10Apache-2.0