{"id":"BIT-gitlab-2023-3401","summary":"Improper Control of Generation of Code ('Code Injection') in GitLab","details":"An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.","aliases":["CVE-2023-3401"],"modified":"2025-05-20T10:02:07.006Z","published":"2024-03-06T11:05:16.794Z","database_specific":{"severity":"Medium","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"]},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252"},{"type":"WEB","url":"https://hackerone.com/reports/2031845"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3401"}],"affected":[{"package":{"name":"gitlab","ecosystem":"Bitnami","purl":"pkg:bitnami/gitlab"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"16.0.8"},{"introduced":"16.1.0"},{"fixed":"16.1.3"},{"introduced":"16.2.0"},{"fixed":"16.2.2"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/gitlab/BIT-gitlab-2023-3401.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"}]}],"schema_version":"1.7.3"}