CVE-2023-6051 json
Improper Control of Generation of Code ('Code Injection') in GitLab
published 2023-12-15 2 y ago modified 2026-09-10 59 d ago also BIT-gitlab-2023-6051 , EUVD-2023-58308
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 16.4.4, 16.5.4, 16.6.2
- GitLab GitLab 16.4.4, 16.5.4, 16.6.2
Exploit prediction
0.63% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2237165 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | <16.4.4 >=16.5.0, <16.5.4 >=16.6.0, <16.6.2 |
16.4.4 16.5.4 16.6.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
- Technology feeds
References
-
hackerone.com
/reports/2237165
technical-description, exploit, permissions-required, web
-
gitlab.com
/gitlab-org/gitlab/-/issues/431345
issue-tracking, broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-6051
web
Sources
- CVE List CVE-2023-6051
- NVD CVE-2023-6051
- OSV BIT-gitlab-2023-6051
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Enhance with deb and rpm package type records.