{"id":"CVE-2024-0231","summary":"Improper Control of Resource Identifiers ('Resource Injection') in GitLab","details":"A resource misdirection vulnerability in GitLab CE/EE versions 12.0 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1 allows an attacker to craft a repository import in such a way as to misdirect commits.","aliases":["BIT-gitlab-2024-0231"],"modified":"2026-04-10T05:07:51.498085Z","published":"2024-07-24T22:08:20.025Z","database_specific":{"cwe_ids":["CWE-99"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0231.json","cna_assigner":"GitLab"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/0xxx/CVE-2024-0231.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0231"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/437103"},{"type":"REPORT","url":"https://hackerone.com/reports/2299337"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"3b13818e8330f68625d80d9bf5d8049c41fbe197"},{"fixed":"9c031204479bc7a5d833157334767231e928d553"}],"database_specific":{"versions":[{"introduced":"12.0"},{"fixed":"17.0.5"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"b7514f9c21c09a9ed2b258f5cfdd56c88f43864a"},{"fixed":"48ce743838e0b3789a335e608d1f3d34ce853a75"}],"database_specific":{"versions":[{"introduced":"17.1"},{"fixed":"17.1.3"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f1ebbe522423b514610449d0f6dc7a262f855314"},{"fixed":"8879399627925e344e8e9a2eb4abc710be01e305"}],"database_specific":{"versions":[{"introduced":"17.2"},{"fixed":"17.2.1"}]}}],"versions":["v17.1.0-ee","v17.2.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0231.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}