{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-3958","id":"CVE-2024-3958","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 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. An issue was found that allows someone  to abuse a discrepancy between the Web application display and the git command line interface to social engineer victims into cloning non-trusted code.","descriptionLong":"An issue has been discovered in GitLab CE/EE affecting all versions before 17.0.6, 17.1 prior to 17.1.4, and 17.2 prior to 17.2.2. An issue was found that allows someone  to abuse a discrepancy between the Web application display and the git command line interface to social engineer victims into cloning non-trusted code.","published":"2024-08-08T10:31:17.868Z","updated":"2026-10-30T10:46:49.627740845Z","reserved":"2024-04-18T16:02:31.685Z","status":"Analyzed","rejected":false,"assigner":"GitLab","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitLab"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitLab"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"gitlab.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"}],"rating":"medium","products":["GitLab"],"affectedProducts":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"lessThan":"17.0.6","status":"affected","version":"0","versionType":"semver"},{"lessThan":"17.1.4","status":"affected","version":"17.1","versionType":"semver"},{"lessThan":"17.2.2","status":"affected","version":"17.2","versionType":"semver"}],"platforms":[]}],"packages":[],"cwes":["CWE-94"],"aliases":["BIT-gitlab-2024-3958"],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/456988","tags":["issue-tracking","permissions-required","Broken Link","report"]},{"url":"https://hackerone.com/reports/2437784","tags":["technical-description","exploit","permissions-required","Permissions Required","report"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/3xxx/CVE-2024-3958.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3958","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":"none","automatable":"no","technicalImpact":"total"},"epss":0.00322,"epssPercentile":0.25774,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-3958","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3958","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-3958","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-2024-3958","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["gitlab"],"critical":[],"attention":null}