{"id":"CVE-2023-6051","aliases":["BIT-gitlab-2023-6051","EUVD-2023-58308","GHSA-pq7v-xh7j-pwmx","UBUNTU-CVE-2023-6051"],"status":"published","title":"Improper Control of Generation of Code ('Code Injection') in 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.","severity":{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00632,"percentile":0.50764,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2023-12-15T16:02:50Z","modified":"2026-10-30T10:46:39Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["16.4.4","16.5.4","16.6.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"16.4.4"},{"introduced":"16.5.0"},{"fixed":"16.5.4"},{"introduced":"16.6.0"},{"fixed":"16.6.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/431345","tags":["issue-tracking","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/2237165","tags":["technical-description","exploit","permissions-required","x_transferred","Permissions Required","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6051","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-pq7v-xh7j-pwmx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6051.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-6051","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-6051","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-6051","title":"Improper Control of Generation of Code ('Code Injection') in 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.","status":"published","published":"2023-12-15T16:02:50.265Z","modified":"2025-11-20T04:11:13.279Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2023-58308","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.","status":"published","published":"2023-12-15T16:02:50Z","modified":"2025-11-20T04:11:13Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T19:49:15.042838Z"}],"ghsa":[{"id":"GHSA-pq7v-xh7j-pwmx","title":"An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions...","description":"An issue has been discovered in GitLab CE/EE affecting all versions before 16.4.4, all versions starting from 15.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.","status":"published","published":"2023-12-15T18:30:28Z","modified":"2023-12-15T18:30:29Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:55:13.486361Z"}],"nvd":[{"id":"CVE-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.","status":"published","published":"2023-12-15T16:15:46.49Z","modified":"2026-06-17T06:49:56.893Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:08:56.329586Z"}],"osv":[{"id":"CVE-2023-6051","title":"Improper Control of Generation of Code ('Code Injection') in 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.","status":"published","published":"2023-12-15T16:02:50.265Z","modified":"2026-10-30T10:46:39.841778846Z","cvss":[{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:44:36.851042Z"},{"id":"UBUNTU-CVE-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.","status":"published","published":"2023-12-15T16:15:00Z","modified":"2025-10-24T05:01:37Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","level":"medium"},{"version":"3.1","score":5.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T16:54:41.555387Z"},{"id":"BIT-gitlab-2023-6051","title":"Improper Control of Generation of Code ('Code Injection') in 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.","status":"published","published":"2024-03-06T10:55:11.174Z","modified":"2026-09-10T16:01:36.775382421Z","updated_at":"2026-11-02T15:28:30.405543Z"}]}}
