CVE-2022-39395
What it is
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.
At a glance
- Exploitability
- Can be exploited from the same network segment without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 1.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.4% in the next 30 days (EPSS).
- Severity: 9.6 CRITICAL (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.4% · EPSS, next 30 days
- Weakness
- CWE-269 · Improper privilege management
- Record status
- Modified
Affected
- go-vela Server < 0.16.0
- go-vela Ui < 0.17.0
- go-vela Worker < 0.16.0
Attack profile CVSS 3.1 · 9.6
- Attack vector
- Adjacent network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-39395.md and follow it. Check whether this project is affected by CVE-2022-39395. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4
- https://github.com/go-vela/server/releases/tag/v0.16.0
- https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593
- https://github.com/go-vela/ui/releases/tag/v0.17.0
- https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v
- https://github.com/go-vela/worker/releases/tag/v0.16.0
- https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w
- https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist
- https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images
- https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4
References
- https://docs.docker.com/engine/security/#docker-daemon-attack-surface
- https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4
- https://github.com/go-vela/server/releases/tag/v0.16.0
- https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593
- https://github.com/go-vela/ui/releases/tag/v0.17.0
- https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v
- https://github.com/go-vela/worker/releases/tag/v0.16.0
- https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w
- https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist
- https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images
- https://docs.docker.com/engine/security/#docker-daemon-attack-surface
- https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4
- https://github.com/go-vela/server/releases/tag/v0.16.0
- https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593
- https://github.com/go-vela/ui/releases/tag/v0.17.0
- https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v
- https://github.com/go-vela/worker/releases/tag/v0.16.0
- https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w
- https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist
- https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images