{"id":"CVE-2022-2185","details":"A critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code execution.","aliases":["BIT-gitlab-2022-2185"],"modified":"2026-10-30T10:46:17.003583066Z","published":"2022-07-01T15:50:03Z","database_specific":{"cna_assigner":"GitLab","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2185.json"},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2185.json"},{"type":"WEB","url":"https://hackerone.com/reports/1609965"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2185.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2185"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/366088"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"0034acfc891b0cbc2ecc4aa4c5ca0d1f89e3c32f"},{"fixed":"af6735ad95ff7a4578c8548d37ce9e8247385d5e"},{"introduced":"3b397c1753233301037d0ca3caae23ce116505d3"},{"fixed":"81f47cb467e3387cea11b909ea6b977e28b3b4d2"},{"introduced":"31c24d2d8643ee22211ef544a4538c4420e96dc9"},{"last_affected":"31c24d2d8643ee22211ef544a4538c4420e96dc9"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"14.0.0"},{"fixed":"14.10.5"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"range":[{"introduced":"14.0.0"},{"fixed":"14.10.5"}],"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.0.0"},{"fixed":"15.0.4"}]},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.0.0"},{"fixed":"15.0.4"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:15.1.0:*:*:*:community:*:*:*","range":[{"introduced":"15.1.0"},{"last_affected":"15.1.0"}],"source":"CPE_STRING"},{"source":"CPE_STRING","cpe":"cpe:2.3:a:gitlab:gitlab:15.1.0:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.1.0"},{"last_affected":"15.1.0"}]}]}}],"versions":["15.1.0","v15.1.0-ee","v15.0.3-ee","v15.0.2-ee","v15.0.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2185.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H"}]}