CVE-2021-22205
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USEGitLab Community and Enterprise Editions Remote Code Execution Vulnerability
Is GitLab Community and Enterprise Editions affected by CVE-2021-22205?
GitLab Community and Enterprise Editions is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2021-22205, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (6 vulnerable CPE entries): gitlab gitlab.
Published CPE version bounds mark releases below 13.10.3 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2021-11-17, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2021-39935Same productGitLab Community and Enterprise Editions
GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF) Vulnerability
- CVE-2026-97229Same vendorGitLab Community Edition and Enterprise Edition
GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound Vulnerability
- CVE-2026-85706Same vendorGitLab Community Edition and Enterprise Edition
GitLab Community Edition and Enterprise Edition Path Traversal Vulnerability
- CVE-2021-22175Same vendorGitLab GitLab
GitLab Server-Side Request Forgery (SSRF) Vulnerability
- CVE-2021-22005Neighboring entryVMware vCenter Server
VMware vCenter Server File Upload Vulnerability
- CVE-2021-22502Neighboring entryMicro Focus Operation Bridge Reporter (OBR)
Micro Focus Operation Bridge Report (OBR) Remote Code Execution Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
GitHub Community and Enterprise Editions that utilize the ability to upload images through GitLab Workhorse are vulnerable to remote code execution. Workhorse passes image file extensions through ExifTool, which improperly validates the image files.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Community and Enterprise Editions has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Scope Change (S:C) in CVSS vector: exploitation can cross trust boundaries beyond the vulnerable component itself (e.g., container/sandbox/hypervisor escape or downstream host impact).
- HTTP / web application surface (GitLab Community and Enterprise Editions): inspect reverse-proxy, WAF, and application access/error logs alongside `Zeek http.log` and `Suricata eve.json` for anomalous requests targeting exposed endpoints.
- Inventory all hosts running GitLab Community and Enterprise Editions and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121Broken Link
- https://hackerone.com/reports/1154542Permissions RequiredThird Party Advisory
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploitThird Party AdvisoryVDB Entry
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.jsonVendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/327121Broken Link
- https://hackerone.com/reports/1154542Permissions RequiredThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Fast, template-driven vulnerability scanner by ProjectDiscovery
Intercepting web proxy and automated web application security testing tool
Multi-threaded IDS, IPS, and network security monitoring engine
Behavior-based open-source intrusion prevention system (IPS) and log analysis engine