{"id":"CVE-2022-2417","details":"Insufficient validation in GitLab CE/EE affecting all versions from 12.10 prior to 15.0.5, 15.1 prior to 15.1.4, and 15.2 prior to 15.2.1 allows an authenticated and authorised user to import a project that includes branch names which are 40 hexadecimal characters, which could be abused in supply chain attacks where a victim pinned to a specific Git commit of the project.","aliases":["BIT-gitlab-2022-2417"],"modified":"2026-10-30T10:46:16.300731026Z","published":"2022-08-05T15:10:27Z","database_specific":{"cna_assigner":"GitLab","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2417.json"},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2417.json"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2417.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2417"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/361179"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"58d798bed6228196b580ae8def5d5080e5a56c73"},{"fixed":"6b3af3293e0cee73719bbfc4a7d9eacc2e3ead54"},{"introduced":"31c24d2d8643ee22211ef544a4538c4420e96dc9"},{"fixed":"ac1930c54822229280709a2cb94cdda7d734ae4d"},{"introduced":"d836c22d87f6f0397b93cc72ce3af27a6dc02d93"},{"last_affected":"d836c22d87f6f0397b93cc72ce3af27a6dc02d93"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"12.10.0"},{"fixed":"15.0.5"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"12.10.0"},{"fixed":"15.0.5"}]},{"range":[{"introduced":"15.1.0"},{"fixed":"15.1.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"15.1.0"},{"fixed":"15.1.4"}]},{"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:15.2:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.2"},{"last_affected":"15.2"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:15.2:*:*:*:community:*:*:*","range":[{"introduced":"15.2"},{"last_affected":"15.2"}],"source":"CPE_STRING"}]}}],"versions":["15.2","v15.1.3-ee","v15.2.0-ee","v15.1.2-ee","v15.1.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2417.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:N"}]}