{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-3401","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","state":"PUBLISHED","assignerShortName":"GitLab","dateReserved":"2023-06-26T10:17:32.851Z","datePublished":"2023-08-02T08:30:48.302Z","dateUpdated":"2025-11-20T04:07:33.267Z"},"containers":{"cna":{"title":"Improper Control of Generation of Code ('Code Injection') in GitLab","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"GitLab","product":"GitLab","repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","status":"affected","lessThan":"16.0.8","versionType":"semver"},{"version":"16.1.0","status":"affected","lessThan":"16.1.3","versionType":"semver"},{"version":"16.2.0","status":"affected","lessThan":"16.2.2","versionType":"semver"}],"defaultStatus":"unaffected"}],"problemTypes":[{"descriptions":[{"lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94","type":"CWE"}]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","name":"GitLab Issue #416252","tags":["issue-tracking"]},{"url":"https://hackerone.com/reports/2031845","name":"HackerOne Bug Bounty Report #2031845","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"}}],"solutions":[{"lang":"en","value":"Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above."}],"credits":[{"lang":"en","value":"Thanks [st4nly0n](https://hackerone.com/st4nly0n) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}],"providerMetadata":{"orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","shortName":"GitLab","dateUpdated":"2025-11-20T04:07:33.267Z"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-24T13:55:12.534381Z","id":"CVE-2023-3401","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-24T13:55:26.591Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T06:55:03.501Z"},"title":"CVE Program Container","references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","name":"GitLab Issue #416252","tags":["issue-tracking","x_transferred"]},{"url":"https://hackerone.com/reports/2031845","name":"HackerOne Bug Bounty Report #2031845","tags":["technical-description","exploit","x_transferred"]}]}]}}