---
title: "CVE-2022-2185\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-2185?format=md
keywords: index, follow
---

# CVE-2022-2185

Publication date 1 July 2022

Last updated 25 August 2025

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.8 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-2185?format=md#impact-score)

Toggle side navigation

## Description

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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2022-2185?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| gitlab | 22.04 LTS jammy | Not in release |
| 21.10 impish | Not in release |
| 20.04 LTS focal | Not in release |
| 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not affected |
| 14.04 LTS trusty | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

introduced in gitlab 14.0

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.8 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | Low |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.8 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2185)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-2185)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-2185)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-2185)

### Other references

* <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2185.json>
* <https://hackerone.com/reports/1609965>
* <https://gitlab.com/gitlab-org/gitlab/-/issues/366088>
* <https://www.cve.org/CVERecord?id=CVE-2022-2185>
