{"id":"CVE-2021-22205","details":"An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. GitLab was not properly validating image files that were passed to a file parser which resulted in a remote command execution.","aliases":["BIT-gitlab-2021-22205"],"modified":"2026-08-27T19:00:23.402619Z","published":"2021-04-23T18:15:08.167Z","references":[{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205"},{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/327121"},{"type":"REPORT","url":"https://hackerone.com/reports/1154542"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"2f3536bdda88ae962d4f67ced68af6efd82254f1"},{"fixed":"5760c3c5919f911376a44fe16d674af2af898914"},{"introduced":"a1a60e9f753f4e99f2b13b24028a6092a897cc06"},{"fixed":"fa395d88d5232209aec5fd8010b5d9ee5f9f7dfe"},{"introduced":"0d2d9558dba50b1496bf368954318d465825e8e3"},{"fixed":"db2e358dba43b6ad3a35fde5b1e21a3635b1a19d"}],"database_specific":{"source":"CPE_RANGE","cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"11.9.0"},{"fixed":"13.8.8"},{"introduced":"13.9.0"},{"fixed":"13.9.6"},{"introduced":"13.10.0"},{"fixed":"13.10.3"}]}}],"versions":["v13.10.2-ee","v13.10.0-ee","v13.9.3-ee","v13.9.1-ee","v13.9.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22205.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}