CVE-2022-2992: GitLab - Remote Code Execution
- Cve: CVE-2022-2992
- Name: GitLab - Remote Code Execution
- 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.
- Impact: Authenticated attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Update to GitLab version 15.1.6, 15.2.4, 15.3.2 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be an authenticated user
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.86774
- Epss percentile: 0.99747
- Assignee: [email protected]
- Published at: 2022-10-17T16:15:21Z
- Age in days: 1499
- Modified at: 2026-06-17T04:42:56Z
- Patch available: yes
- Public exploits total: 3
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-2992
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Malwareman007/CVE-2022-2992 | poc-in-github | 2022-10-14 |
| https://github.com/CsEnox/CVE-2022-2992 | poc-in-github | 2022-10-08 |
| https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_github_import_rce_cve_2022_2992.rb | metasploit | 2022-10-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2992.json | Third Party Advisory |
| https://hackerone.com/reports/1679624 | Permissions Required, Third Party Advisory |
| http://packetstormsecurity.com/files/171008/GitLab-GitHub-Repo-Import-Deserialization-Remote-Code-Execution.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gitlab:gitlab | >= 15.3, < 15.3.2; >= 15.2, < 15.2.4; >= 11.10, < 15.1.6 | no | nvd | /v1/products/gitlab/gitlab |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Public exploit: yes
- Public exploit count: 3
- Public exploit first date: 2022-10-06
- Remote: yes
- Authentication required: yes
- Exposed hosts: 66493
- Checked, none or zero: known exploited, known exploited by, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports