{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-3401","id":"CVE-2023-3401","title":"Improper Control of Generation of Code ('Code Injection') in GitLab","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.","descriptionLong":"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.","published":"2023-08-02T08:30:48.302Z","updated":"2026-10-30T10:46:34.578913913Z","reserved":"2023-06-26T10:17:32.851Z","status":"Modified","rejected":false,"assigner":"GitLab","metric":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitLab"},"metrics":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"GitLab"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"gitlab.com"},{"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","rating":"medium","source":"NVD"},{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["GitLab"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":["BIT-gitlab-2023-3401"],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/416252","tags":["issue-tracking","x_transferred","Broken Link","report"]},{"url":"https://hackerone.com/reports/2031845","tags":["technical-description","exploit","permissions-required","broken-link","x_transferred","Permissions Required","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/3xxx/CVE-2023-3401.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3401","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00583,"epssPercentile":0.48648,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-3401","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3401","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-3401","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-3401","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":[],"attention":null}