Privilege escalation in Go-Vela Server
CVE-2022-39395
- CVSS v3
- 9.6 Critical
- Public exploits
- 1 repository
- EPSS
- 0.014 · 73.8th percentile
- Published
- 2022-11-10
What to do
- Fixed in
0.16.0,0.17.0- Affected
- 3 affected products
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.6 (Critical). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.
- Attack Vector
- Adjacent
AV:A - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.014, 73.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Go-Vela Server — versions < 0.16.0, < 0.17.0
- Go-Vela Ui
- Go-Vela Worker
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, nomi-sec/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 (Third Party Advisory)
- github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v (Third Party Advisory)
- github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w (Third Party Advisory)
- github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 (Patch, Third Party Advisory)
- docs.docker.com/engine/security/ (Technical Description, Third Party Advisory)
- github.com/go-vela/server/releases/tag/v0.16.0 (Third Party Advisory, Release Notes)
- github.com/go-vela/ui/releases/tag/v0.17.0 (Third Party Advisory, Release Notes)
- github.com/go-vela/worker/releases/tag/v0.16.0 (Third Party Advisory, Release Notes)
- go-vela.github.io/docs/installation/server/reference/ (Vendor Advisory)
- go-vela.github.io/docs/installation/worker/reference/ (Vendor Advisory)