CVE-2023-6051
published medium CVSS 3.1 · 5.7Improper Control of Generation of Code ('Code Injection') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab0 to < 16.4.4 · 16.5 to < 16.5.4 · 16.6 to < 16.6.2 · Other versions: unaffected | Affected | Not stated | GitLab |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 0 to < 16.4.4 (affected · semver)16.5 to < 16.5.4 (affected · semver)16.6 to < 16.6.2 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
2- GitLab Issue #431345 https://gitlab.com/gitlab-org/gitlab/-/issues/431345
- HackerOne Bug Bounty Report #2237165 https://hackerone.com/reports/2237165
Provider assertions
2GitLab · cna
Improper Control of Generation of Code ('Code Injection') in GitLab
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d724be3e0b9431ec464bc12a632c8daaa3ba76feae00e32c9d924e0c30c3320b
- Ingested
- 23 Sep 2026, 08:15:42 UTC
- Source record
- Official CVE record