CVE-2021-22205: GitLab Community and Enterprise Editions Remote Code Execution Vulnerability

Published Apr 23, 2021
·
Updated

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.

Other sources

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.

Affected Software

7 affected components
GitLab GitLab>=11.9.0<13.8.8
GitLab GitLab>=11.9.0<13.8.8
GitLab GitLab>=13.9.0<13.9.6
GitLab GitLab>=13.9.0<13.9.6
GitLab GitLab>=13.10.0<13.10.3
GitLab GitLab>=13.10.0<13.10.3
GitLab Community and Enterprise Editions

Event History

Apr 23, 2021
CVE Published
via MITRE·05:39 PM
Data Sourced
via MITRE·05:39 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Nov 3, 2021
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2021-22205?

CVE-2021-22205 is classified as critical due to its potential for remote code execution.

2

How do I fix CVE-2021-22205?

To remediate CVE-2021-22205, upgrade GitLab Community and Enterprise Editions to versions 13.10.3, 13.9.6, or 13.8.8 or later.

3

What versions of GitLab are affected by CVE-2021-22205?

CVE-2021-22205 affects GitLab versions ranging from 11.9.0 to 13.8.8 and some versions between 13.9.0 to 13.9.6 and 13.10.0 to 13.10.3.

4

What type of vulnerability is CVE-2021-22205?

CVE-2021-22205 is a remote code execution vulnerability due to improper validation of image file extensions.

5

Who is affected by CVE-2021-22205?

Organizations using GitLab Community and Enterprise Editions with the image upload feature enabled are vulnerable to CVE-2021-22205.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203