Description
A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows an authenticated user to achieve remote code execution via the Import from GitHub API endpoint.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab | >=11.10, <15.1.6, >=15.2, <15.2.4, >=15.3, <15.3.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | gitlab | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
GitLab GitHub Repo Import Deserialization RCE
exploit/multi/http/gitlab_github_import_rce_cve_2022_2992
GitHub 2 repositories
-
CsEnox/CVE-2022-2992 ★ 224 · Oct 8, 2022
Authenticated Remote Command Execution in Gitlab via GitHub import
-
Malwareman007/CVE-2022-2992 ★ 8 · Oct 14, 2022
Authenticated Remote Command Execution in Gitlab via GitHub import.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.