CVE-2021-22205
Published: November 3, 2021
Official Description
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.
CISA KEV Advisory
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.
Apply updates per vendor instructions.
Risk Analysis
This vulnerability in GitHub Community and Enterprise Editions, specifically when uploading images via GitLab Workhorse, allows for remote code execution. The flaw is due to improper validation of image files by ExifTool. The very high EPSS score indicates a high likelihood of exploitation, making this a critical vulnerability.
This vulnerability is actively being exploited in the wild and is listed in CISA's KEV catalog, confirming its active exploitation. The nature of the vulnerability suggests it is remotely exploitable through crafted image uploads.
Update GitHub Community and Enterprise Editions to patched versions. Ensure that GitLab Workhorse and ExifTool are also updated and properly configured.
Technical Analysis
CVE-2021-22205 requires local access, meaning attackers must already have a foothold on the target system.
Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.
CISA has added CVE-2021-22205 to the Known Exploited Vulnerabilities (KEV) catalog, confirming active exploitation in the wild. U.S. federal agencies are required to patch this within the mandated timeframe, and all organizations should treat remediation as urgent.
Affected Vendors & Products
Exploit & PoC Resources
All References (1)
Quick Facts
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-22205 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts
- !CISA KEV: Federal agencies must patch per BOD 22-01 timeline
- !Active exploitation confirmed — treat as P1