VulnerabilityAnalyzed
CVE-2021-22205
GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
KEVCRITICAL 10.0EPSS 99.7%
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 17 November 2021). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 10.0 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- EPSS
- 99.73% probability · 100th percentile
- CISA KEV
- Listed 3 November 2021 · due 17 November 2021 · used in ransomware campaigns
- Weakness
- CWE-94
- Affected
- gitlab/gitlab
- Source
- cve@gitlab.com
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2021-22205
References
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB 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 Required, Third Party Advisory
- http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB 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 Required, Third Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.