From e7739923e60106d125484dff148cc421be4f2e45 Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Thu, 10 Nov 2022 17:35:34 +0000 Subject: [PATCH 1/2] Add CVE-2022-39395 for GHSA-5m7g-pj8w-7593 Add CVE-2022-39395 for GHSA-5m7g-pj8w-7593 --- 2022/39xxx/CVE-2022-39395.json | 130 +++++++++++++++++++++++++++++++-- 1 file changed, 124 insertions(+), 6 deletions(-) diff --git a/2022/39xxx/CVE-2022-39395.json b/2022/39xxx/CVE-2022-39395.json index 282ed75611e..d25efdf6d0a 100644 --- a/2022/39xxx/CVE-2022-39395.json +++ b/2022/39xxx/CVE-2022-39395.json @@ -1,18 +1,136 @@ { - "data_type": "CVE", - "data_format": "MITRE", - "data_version": "4.0", "CVE_data_meta": { + "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39395", - "ASSIGNER": "cve@mitre.org", - "STATE": "RESERVED" + "STATE": "PUBLIC", + "TITLE": "Vela Insecure Defaults" }, + "affects": { + "vendor": { + "vendor_data": [ + { + "product": { + "product_data": [ + { + "product_name": "server", + "version": { + "version_data": [ + { + "version_value": "< 0.16.0" + }, + { + "version_value": "< 0.17.0" + } + ] + } + } + ] + }, + "vendor_name": "go-vela" + } + ] + } + }, + "data_format": "MITRE", + "data_type": "CVE", + "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", - "value": "** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided." + "value": "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." } ] + }, + "impact": { + "cvss": { + "attackComplexity": "LOW", + "attackVector": "ADJACENT", + "availabilityImpact": "HIGH", + "baseScore": 9.6, + "baseSeverity": "CRITICAL", + "confidentialityImpact": "HIGH", + "integrityImpact": "HIGH", + "privilegesRequired": "NONE", + "scope": "CHANGED", + "userInteraction": "NONE", + "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H", + "version": "3.1" + } + }, + "problemtype": { + "problemtype_data": [ + { + "description": [ + { + "lang": "eng", + "value": "CWE-269: Improper Privilege Management" + } + ] + } + ] + }, + "references": { + "reference_data": [ + { + "name": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", + "refsource": "CONFIRM", + "url": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593" + }, + { + "name": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", + "refsource": "MISC", + "url": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593" + }, + { + "name": "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v", + "refsource": "MISC", + "url": "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v" + }, + { + "name": "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w", + "refsource": "MISC", + "url": "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w" + }, + { + "name": "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4", + "refsource": "MISC", + "url": "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4" + }, + { + "name": "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", + "refsource": "MISC", + "url": "https://docs.docker.com/engine/security/#docker-daemon-attack-surface" + }, + { + "name": "https://github.com/go-vela/server/releases/tag/v0.16.0", + "refsource": "MISC", + "url": "https://github.com/go-vela/server/releases/tag/v0.16.0" + }, + { + "name": "https://github.com/go-vela/ui/releases/tag/v0.17.0", + "refsource": "MISC", + "url": "https://github.com/go-vela/ui/releases/tag/v0.17.0" + }, + { + "name": "https://github.com/go-vela/worker/releases/tag/v0.16.0", + "refsource": "MISC", + "url": "https://github.com/go-vela/worker/releases/tag/v0.16.0" + }, + { + "name": "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist", + "refsource": "MISC", + "url": "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist" + }, + { + "name": "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images", + "refsource": "MISC", + "url": "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images" + } + ] + }, + "source": { + "advisory": "GHSA-5m7g-pj8w-7593", + "discovery": "UNKNOWN" } } \ No newline at end of file From 1f0e86c62c1a971119e7a72146774cfa3017c6fe Mon Sep 17 00:00:00 2001 From: Shelby Cunningham Date: Thu, 10 Nov 2022 12:41:41 -0500 Subject: [PATCH 2/2] Removed duplicate URL --- 2022/39xxx/CVE-2022-39395.json | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/2022/39xxx/CVE-2022-39395.json b/2022/39xxx/CVE-2022-39395.json index d25efdf6d0a..c783382820f 100644 --- a/2022/39xxx/CVE-2022-39395.json +++ b/2022/39xxx/CVE-2022-39395.json @@ -77,11 +77,6 @@ "refsource": "CONFIRM", "url": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593" }, - { - "name": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", - "refsource": "MISC", - "url": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593" - }, { "name": "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v", "refsource": "MISC", @@ -133,4 +128,4 @@ "advisory": "GHSA-5m7g-pj8w-7593", "discovery": "UNKNOWN" } -} \ No newline at end of file +}