CVE-2022-39395
Go-vela Server vulnerability
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.
Affected products
Server, Ui, Worker. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Go-vela Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist · Vendor Advisory
- go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images · Vendor Advisory
- github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4 · Patch
- docs.docker.com/engine/security/#docker-daemon-attack-surface · Third Party Advisory
- github.com/go-vela/server/releases/tag/v0.16.0 · Third Party Advisory
- github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593 · Third Party Advisory
- github.com/go-vela/ui/releases/tag/v0.17.0 · Third Party Advisory
- github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-39395
- cve.org/CVERecord?id=CVE-2022-39395
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.