Exploited
CWE
94
Advisory Published
Updated

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

First published: Fri 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.

Credit: cve@gitlab.com cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=11.9.0<13.8.8
GitLab>=11.9.0<13.8.8
GitLab>=13.9.0<13.9.6
GitLab>=13.9.0<13.9.6
GitLab>=13.10.0<13.10.3
GitLab>=13.10.0<13.10.3
GitLab
>=11.9.0<13.8.8
>=11.9.0<13.8.8
>=13.9.0<13.9.6
>=13.9.0<13.9.6
>=13.10.0<13.10.3
>=13.10.0<13.10.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-22205?

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

  • 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.

  • 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.

  • 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.

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203