CWE
78 77
Advisory Published
Updated

CVE-2022-2185: OS Command Injection

First published: Fri Jul 01 2022(Updated: )

A critical issue has been discovered in GitLab affecting all versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1 where an authenticated user authorized to import projects could import a maliciously crafted project leading to remote code execution.

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

Affected SoftwareAffected VersionHow to fix
GitLab>=14.0.0<14.10.5
GitLab>=14.0.0<14.10.5
GitLab>=15.0.0<15.0.4
GitLab>=15.0.0<15.0.4
GitLab=15.1.0
GitLab=15.1.0

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-2022-2185?

    CVE-2022-2185 is classified as a critical vulnerability.

  • How do I fix CVE-2022-2185?

    To address CVE-2022-2185, update GitLab to versions 14.10.5, 15.0.4, or 15.1.1 or later.

  • What versions of GitLab are affected by CVE-2022-2185?

    CVE-2022-2185 affects all GitLab versions starting from 14.0 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1.

  • What type of attack is possible due to CVE-2022-2185?

    CVE-2022-2185 allows for remote code execution through malicious project imports by authenticated users.

  • Who is impacted by CVE-2022-2185?

    Authenticated users authorized to import projects in GitLab are at risk due to CVE-2022-2185.

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