CVE-2021-22205
GitLab
Published 23 Apr 2021 · updated 6 Aug 2026 · Analyzed
10.0 Critical · CVSS 3.1, NVD
Exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, with a remediation deadline of 17 Nov 2021 for US federal agencies. It has been used in ransomware campaigns.
Required action: Apply updates per vendor instructions.
Description
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.
References
- packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html · Exploit, Third Party Advisory, VDB Entry
- packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html · Exploit, Third Party Advisory, VDB Entry
- gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json · Vendor Advisory
- gitlab.com/gitlab-org/gitlab/-/issues/327121 · Broken Link
- hackerone.com/reports/1154542 · Permissions Required, Third Party Advisory
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205 · US Government Resource