{"api_version":"1","generated_at":"2026-04-23T07:56:24+00:00","cve":"CVE-2023-3401","urls":{"html":"https://cve.report/CVE-2023-3401","api":"https://cve.report/api/cve/CVE-2023-3401.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-3401","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-3401"},"summary":{"title":"CVE-2023-3401","description":"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.","state":"PUBLIC","assigner":"cve@gitlab.com","published_at":"2023-08-02 09:15:00","updated_at":"2023-08-04 20:03:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","name":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","refsource":"MISC","tags":[],"title":"Not Found","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://hackerone.com/reports/2031845","name":"https://hackerone.com/reports/2031845","refsource":"MISC","tags":[],"title":"Just a moment...","mime":"text/html","httpstatus":"403","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-3401","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3401","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"3401","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"gitlab","cpe5":"gitlab","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-3401","qid":"378912","title":"GitLab Multiple Security Vulnerabilities (GitLab Security Release: 16.2.2, 16.1.3, and 16.0.8)"},{"cve":"CVE-2023-3401","qid":"379588","title":"Gitlab Multiple Vulnerabilities (prior to gitlab- 16.6.1, 16.5.3, 16.4.3)"},{"cve":"CVE-2023-3401","qid":"691223","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for gitlab (fa239535-30f6-11ee-aef9-001b217b3468)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-3401","ASSIGNER":"cve@gitlab.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94: Improper Control of Generation of Code ('Code Injection')","cweId":"CWE-94"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"GitLab","product":{"product_data":[{"product_name":"GitLab","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"16.0.8"},{"version_affected":"<","version_name":"16.1.0","version_value":"16.1.3"},{"version_affected":"<","version_name":"16.2.0","version_value":"16.2.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","refsource":"MISC","name":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252"},{"url":"https://hackerone.com/reports/2031845","refsource":"MISC","name":"https://hackerone.com/reports/2031845"}]},"solution":[{"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"}],"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-08-02 09:15:00","lastModifiedDate":"2023-08-04 20:03:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","versionStartIncluding":"16.2","versionEndExcluding":"16.2.2","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","versionStartIncluding":"16.1","versionEndExcluding":"16.1.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*","versionEndExcluding":"16.0.8","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}