All vulnerabilities
CVE-2021-22205

GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

GitLab Community and Enterprise EditionsApplications & CMS
CVSS
10.0Critical
ExploitationExploited in the wildAdded to KEV 3 Nov 2021. Known ransomware useCISA KEV
Exploit odds (EPSS)99.7%Chance of exploitation activity in the next 30 days, higher than 99.9% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version yet
Federal deadline17 Nov 2021Remediation due date for US federal agenciesCISA KEV
CISA required actionApply updates per vendor instructions. CISA KEV

What fixes it

No source in this snapshot names a fixed version.

Timeline

  1. 14 Apr 2021Exploit code publicMetasploit
  2. 23 Apr 2021, 17:39 UTCPublishedCVE List
  3. 3 Nov 2021Added to CISA KEVCISA KEV

Public exploit code and templates 3

  • Exploit moduleGitLab Unauthenticated Remote ExifTool Command Injection 14 Apr 2021Metasploit
  • Webapps exploitGitLab 13.10.2 - Remote Code Execution (RCE) (Unauthenticated) 17 Nov 2021Exploit-DB
  • Scanner templateGitLab CE/EE - Remote Code ExecutionNuclei

Listed so defenders can prioritize. Threatline links to the source and does not host exploit code.

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.

Text from CVE List

Affected versions 3

  • GitLabaffected: >=11.9, <13.8.8CVE List
  • GitLabaffected: >=13.9, <13.9.6CVE List
  • GitLabaffected: >=13.10, <13.10.3CVE List

References 5