{"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-08-23T06:37:50.525967133Z","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"},{"introduced":"b7514f9c21c09a9ed2b258f5cfdd56c88f43864a"},{"fixed":"48ce743838e0b3789a335e608d1f3d34ce853a75"},{"introduced":"f1ebbe522423b514610449d0f6dc7a262f855314"},{"last_affected":"f1ebbe522423b514610449d0f6dc7a262f855314"}],"database_specific":{"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:gitlab:gitlab:17.2.0:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:17.2.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"12.0.0"},{"fixed":"17.0.5"},{"introduced":"17.1.0"},{"fixed":"17.1.3"},{"introduced":"17.2.0"},{"last_affected":"17.2.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["17.2.0","v17.2.0-ee","v17.1.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-0231.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N"}]}