CVE-2023-6051

Improper Control of Generation of Code ('Code Injection') in GitLab

State
Published
Severity
5.7 Medium
Published
Dec 15, 2023
Updated
Nov 20, 2025
Reserved
Nov 9, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.7 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:NGitLab

Weaknesses

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
GitLabGitLab
  • before 16.4.4Affected
  • 16.5 to before 16.5.4Affected
  • 16.6 to before 16.6.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.