CVE-2022-2185

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…

Critical · published July 1, 2022

Patch now

High probability of exploitation

CVSS calls it critical at 9.9. It sits in the 99.5th percentile for exploit probability.

CVSS v3.1
9.9
EPSS
77%
Percentile
99.5
In the wild
Unconfirmed
What it is

🚨 An authenticated user can import a malicious project, leading to full remote code execution! It’s like giving an insider the keys to the entire castle but letting them bring in a Trojan horse! 🔥 Think of this vulnerability as a hotel manager accidentally allowing a guest to book a suite under the guise of a legitimate reservation. Once inside, that guest can wreak havoc with no one the wiser, just like an attacker slipping malicious code through an innocent-looking project import. This flaw could allow an attacker to execute arbitrary code on the server, making it possible to steal sensitive information, modify data, or even take complete control of the GitLab instance. The consequences are absolutely devastating for any organization relying on GitLab for their projects and code management!

Put simply

Think of this vulnerability as a hotel manager accidentally allowing a guest to book a suite under the guise of a legitimate reservation. Once inside, that guest can wreak havoc with no one the wiser, just like an attacker slipping malicious code through an innocent-looking project import. This vulnerability, CVE-2022-2185, enables an attacker with project import permissions to upload a specially crafted project that can execute arbitrary code, thanks to insufficient validation of user inputs in the project import feature.

What to do

This flaw could allow an attacker to execute arbitrary code on the server, making it possible to steal sensitive information, modify data, or even take complete control of the GitLab instance. The consequences are absolutely devastating for any organization relying on GitLab for their projects and code management! To protect your environment, immediately update GitLab to version 14.10.5, 15.0.4, or 15.1.1. Review user permissions to limit who can import projects, and implement strict validation checks on all project imports. 🛡️ You've got this! Follow these steps to secure your GitLab instance and maintain your hero status in the security realm! 💪🦸‍♂️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.76650 · 99.5th percentile
Published
2022-07-01T15:50Z
EPSS history
Timeline
  • 01 JUL 15:50Z
    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…
    cvelistv5