10.0criticalExploited
GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
- Severity
- 10.0critical CVSS:3.1 by GitLab
- Exploit likelihood
- 99.7% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22205
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=11.9, <13.8.8, >=13.9, <13.9.6, >=13.10, <13.10.3, from 11.9.0 before 13.8.8, from 13.9.0 before 13.9.6, from 13.10.0 before 13.10.3 | CVE List, NVD |
| gitlab (Bitnami) | from 11.9.0 before 13.8.8, from 13.9.0 before 13.9.6, from 13.10.0 before 13.10.3 | Bitnami Vulnerability Database |
| GitLab Community and Enterprise Editions | Not specified | CISA KEV |
All scores
| GitLab | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado un problema en GitLab CE/EE que afecta a todas las versiones a partir de 11.9. GitLab no estaba comprobado apropiadamente archivos de imagen que fueron pasados a un analizador de archivos, lo que resultó en una ejecución de comando remoto
CISA KEV
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.
References
| https://hackerone.com/reports/1154542 | advisory, permissions-required, third-party-advisory | |
| https://gitlab.com/gitlab-org/gitlab/-/issues/327121 | broken-link, web | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json | advisory, vendor-advisory | |
| http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html | advisory, exploit, third-party-advisory, vdb-entry | |
| http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html | advisory, exploit, third-party-advisory, vdb-entry | |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205 | government-resource, us-government-resource, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22205 | kev, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22205 changed 2026-08-06 | CVE Terms of Use |
| NVD | CVE-2021-22205 changed 2026-08-06 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22205 changed 2026-09-08 | Apache-2.0 |
| CISA KEV | CVE-2021-22205 changed 2021-11-03 | CC0-1.0 |