CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability
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.
| Vendor | GitLab |
|---|---|
| Product | Community and Enterprise Editions |
| Date added to KEV | 2021-11-03 |
| Due date (BOD 22-01) | 2021-11-17 |
| Known ransomware campaign use | Known |
| CWE | CWE-20, CWE-95 |
| Required action | Apply updates per vendor instructions. |
What to do
- Identify every instance of GitLab Community and Enterprise Editions in your environment (asset inventory, EDR, vulnerability scanner).
- Apply CISA's required action: Apply updates per vendor instructions.
- Federal civilian agencies must act by 2021-11-17 under BOD 22-01; other organizations can use the same date as a target.
- Because ransomware use is known, check for signs of compromise and confirm backups are offline and tested.
- Check the vendor advisory and NVD entry linked below for affected versions, then record the fix in your change log.
This CVE is flagged by CISA as known to be used in ransomware campaigns. Rehearse your response before you need it: Ransomware tabletop exercise kit (Runbook Foundry).
Sources
- NVD entry for CVE-2021-22205 (severity scores, if any, live there)
- CISA KEV catalog entry
- https://nvd.nist.gov/vuln/detail/CVE-2021-22205