CVE-2022-2884
GitLab vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-2884) was discovered in GitLab Community Edition (CE) and Enterprise Edition (EE) affecting all versions from 11.3.4 prior to 15.1.5, 15.2 to 15.2.3, and 15.3 to 15.3.1. The vulnerability was reported by security researcher 'yvvdwf' through HackerOne's bug bounty program and was disclosed on August 22, 2022 (GitLab Release, Hacker News).

Technical details

The vulnerability allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint. It received a Critical severity rating with a CVSS score of 9.9 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H). The issue is related to how GitLab handles GitHub import functionality, specifically in the way it processes API responses (Security Online).

Impact

A successful exploitation of this vulnerability could enable a malicious actor to execute arbitrary code on the target system, potentially leading to complete system compromise. This could allow attackers to run malicious code, inject malware and backdoors, and gain full control of susceptible GitLab instances (Hacker News).

Mitigation and workarounds

GitLab has released patches in versions 15.3.1, 15.2.3, and 15.1.5 to address this vulnerability. For users unable to upgrade immediately, a temporary workaround is available by disabling the GitHub import feature. This can be done by logging in as an administrator, navigating to Admin > Settings > General, expanding the 'Visibility and access controls' tab, and disabling the 'GitHub' option under 'Import sources' (GitLab Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management