Vulnerability record

CVE-2021-22205

GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Severity: CriticalExploitation: Exploitation confirmedCISA KEV Used by ransomware
What should I do?

This vulnerability is in the CISA Known Exploited Vulnerabilities catalog: attackers are using it. If you run Community and Enterprise Editions, fix it now.

CISA required action: Apply updates per vendor instructions.

US federal civilian agencies must remediate by Nov 17, 2021.

Patch status

No official fix confirmed yet

Until a fix ships, follow the vendor's mitigations and CISA's required action, limit exposure of affected systems, and watch this record for a patch.

Description

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.

Source: NIST National Vulnerability Database. Official vulnerability data, reproduced as published.

Affected products

Products affected by this vulnerability, with versions and the source of each entry
ProductVendorAffected versionsFixed inSource
Community and Enterprise EditionsGitLab——KEV
GitLabGitLab>= 11.9.0, < 13.8.8; >= 13.9.0, < 13.9.6; >= 13.10.0, < 13.10.313.8.8; 13.9.6; 13.10.3NVD

Sources: KEV = CISA Known Exploited Vulnerabilities catalog; NVD = NIST National Vulnerability Database.

Intelligence timeline

Developments from the last 30 days, newest first.

  1. CVSS scoredUpdateKEV

    CVE-2021-22205 scored CVSS 10.0: GitLab Community and Enterprise Editions, GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

    CISA lists this as exploited in the wild and known to be used in ransomware campaigns. Unpatched Community and Enterprise Editions systems are exposed to active attacks now.

    Basis: NIST National Vulnerability Database

1 earlier event is available with a subscription. See plans.

Coverage

We have not published a story about this vulnerability yet.

References

  • nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-22205
  • packetstormsecurity.com http://packetstormsecurity.com/files/164768/GitLab-Unauthenticated-Remote-ExifTool-Command-Injection.html
  • packetstormsecurity.com http://packetstormsecurity.com/files/164994/GitLab-13.10.2-Remote-Code-Execution.html
  • gitlab.com https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22205.json
  • gitlab.com https://gitlab.com/gitlab-org/gitlab/-/issues/327121
  • hackerone.com https://hackerone.com/reports/1154542
  • cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2021-22205