9.9
CRITICAL
CVE-2022-39395
Vela Privilege Escalation Container Breakout Vulnerability
Description

Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. In Vela Server and Vela Worker prior to version 0.16.0 and Vela UI prior to version 0.17.0, some default configurations for Vela allow exploitation and container breakouts. Users should upgrade to Server 0.16.0, Worker 0.16.0, and UI 0.17.0 to fix the issue. After upgrading, Vela administrators will need to explicitly change the default settings to configure Vela as desired. Some of the fixes will interrupt existing workflows and will require Vela administrators to modify default settings. However, not applying the patch (or workarounds) will continue existing risk exposure. Some workarounds are available. Vela administrators can adjust the worker's `VELA_RUNTIME_PRIVILEGED_IMAGES` setting to be explicitly empty, leverage the `VELA_REPO_ALLOWLIST` setting on the server component to restrict access to a list of repositories that are allowed to be enabled, and/or audit enabled repositories and disable pull_requests if they are not needed.

INFO

Published Date :

Nov. 10, 2022, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 7:18 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2022-39395 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Go-vela server
2 Go-vela ui
3 Go-vela worker
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-39395.

URL Resource
https://docs.docker.com/engine/security/#docker-daemon-attack-surface Technical Description Third Party Advisory
https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 Patch Third Party Advisory
https://github.com/go-vela/server/releases/tag/v0.16.0 Release Notes Third Party Advisory
https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 Third Party Advisory
https://github.com/go-vela/ui/releases/tag/v0.17.0 Release Notes Third Party Advisory
https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v Third Party Advisory
https://github.com/go-vela/worker/releases/tag/v0.16.0 Release Notes Third Party Advisory
https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w Third Party Advisory
https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist Vendor Advisory
https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images Vendor Advisory
https://docs.docker.com/engine/security/#docker-daemon-attack-surface Technical Description Third Party Advisory
https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 Patch Third Party Advisory
https://github.com/go-vela/server/releases/tag/v0.16.0 Release Notes Third Party Advisory
https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 Third Party Advisory
https://github.com/go-vela/ui/releases/tag/v0.17.0 Release Notes Third Party Advisory
https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v Third Party Advisory
https://github.com/go-vela/worker/releases/tag/v0.16.0 Release Notes Third Party Advisory
https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w Third Party Advisory
https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist Vendor Advisory
https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-39395 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-39395 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://docs.docker.com/engine/security/#docker-daemon-attack-surface
    Added Reference https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4
    Added Reference https://github.com/go-vela/server/releases/tag/v0.16.0
    Added Reference https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593
    Added Reference https://github.com/go-vela/ui/releases/tag/v0.17.0
    Added Reference https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v
    Added Reference https://github.com/go-vela/worker/releases/tag/v0.16.0
    Added Reference https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w
    Added Reference https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist
    Added Reference https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Nov. 17, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type https://docs.docker.com/engine/security/#docker-daemon-attack-surface No Types Assigned https://docs.docker.com/engine/security/#docker-daemon-attack-surface Technical Description, Third Party Advisory
    Changed Reference Type https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 No Types Assigned https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 Patch, Third Party Advisory
    Changed Reference Type https://github.com/go-vela/server/releases/tag/v0.16.0 No Types Assigned https://github.com/go-vela/server/releases/tag/v0.16.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 No Types Assigned https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 Third Party Advisory
    Changed Reference Type https://github.com/go-vela/ui/releases/tag/v0.17.0 No Types Assigned https://github.com/go-vela/ui/releases/tag/v0.17.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v No Types Assigned https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v Third Party Advisory
    Changed Reference Type https://github.com/go-vela/worker/releases/tag/v0.16.0 No Types Assigned https://github.com/go-vela/worker/releases/tag/v0.16.0 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w No Types Assigned https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w Third Party Advisory
    Changed Reference Type https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist No Types Assigned https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist Vendor Advisory
    Changed Reference Type https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images No Types Assigned https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images Vendor Advisory
    Added CWE NIST CWE-269
    Added CPE Configuration OR *cpe:2.3:a:go-vela:server:*:*:*:*:*:*:*:* versions up to (excluding) 0.16.0 *cpe:2.3:a:go-vela:ui:*:*:*:*:*:*:*:* versions up to (excluding) 0.17.0 *cpe:2.3:a:go-vela:worker:*:*:*:*:*:*:*:* versions up to (excluding) 0.16.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-39395 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-39395 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.37 }} 0.03%

score

0.72379

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability