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)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.997 (100.0th percentile), scored .

Very high probability of exploitation in the next 30 days — among the top 0.1% most-likely-to-be-exploited CVEs. 100th percentile — 100.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2021-22205: held from 0.997 to 0.997.

EPSS over last 30 days · oldest: 0.997 · newest: 0.997 · change: 0.000

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

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. 136 public proof-of-concept repositories are indexed.