{"id":"CVE-2023-6051","published":"2023-12-15T16:02:50Z","modified":"2025-11-20T04:11:13Z","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","vendor":"GitLab","product":"GitLab","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00632,"percentile":0.51241,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/431345","tags":["issue-tracking"]},{"url":"https://hackerone.com/reports/2237165","tags":["technical-description","exploit","permissions-required"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":10.25},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"gitlab","affectedVersions":[{"vendor":"GitLab","product":"GitLab","versions":["< 16.4.4",">= 16.5, < 16.5.4",">= 16.6, < 16.6.2"]}],"solutions":{"items":["Upgrade to versions 16.6.2, 16.5.4, 16.4.4 or above."],"from":"CVE.org CNA","provenance":"source"},"euvd":{"id":"EUVD-2023-58308","exploited":false,"provenance":"source"},"exploitRefs":["https://hackerone.com/reports/2237165"]}