RCE in Gitlab
CVE-2021-22205
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.
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.997 (100.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
Affected products
- Gitlab — versions >=11.9, <13.8.8, >=13.9, <13.9.6, >=13.10, <13.10.3
Weakness classification (CWE)
CISA KEV (Known Exploited Vulnerabilities)
This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.
BOD 22-01 due date: .
Required action: Apply updates per vendor instructions.
Known ransomware campaign use: yes.
Public proof-of-concept exploits
References
- cve@gitlab.com (Permissions Required, Third Party Advisory, x_refsource_MISC)
- cve@gitlab.com (x_refsource_MISC, Broken Link)
- cve@gitlab.com (x_refsource_CONFIRM, Vendor Advisory)
- cve@gitlab.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- cve@gitlab.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (US Government Resource)
Frequently asked questions
- What is CVE-2021-22205?
- CVE-2021-22205 is a critical-severity vulnerability in Gitlab, classified under Code Injection. CVSS score: 10.0/10. Published 2021-04-23.
- How severe is CVE-2021-22205?
- Critical severity. CVSS v3 base score is 10.0 out of 10.
- Is CVE-2021-22205 known to be exploited?
- Yes. CVE-2021-22205 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2021-11-03), indicating it is being actively exploited. 135 public proof-of-concept repositories are indexed.