gsd-2022-39395
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2022-39395", "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\u0027s `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.", "id": "GSD-2022-39395" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-39395" ], "details": "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\u0027s `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.", "id": "GSD-2022-39395", "modified": "2023-12-13T01:19:20.422790Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39395", "STATE": "PUBLIC", "TITLE": "Vela Insecure Defaults" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "server", "version": { "version_data": [ { "version_value": "\u003c 0.16.0" }, { "version_value": "\u003c 0.17.0" } ] } } ] }, "vendor_name": "go-vela" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "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\u0027s `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/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" } }, "gitlab.com": { "advisories": [ { "affected_range": "\u003cv0.16.0", "affected_versions": "All versions before 0.16.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-269", "CWE-937" ], "date": "2022-11-17", "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\u0027s `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.", "fixed_versions": [ "v0.16.0" ], "identifier": "CVE-2022-39395", "identifiers": [ "CVE-2022-39395", "GHSA-5m7g-pj8w-7593", "GHSA-xf39-98m2-889v", "GHSA-2w78-ffv6-p46w", "GMS-2022-6556" ], "not_impacted": "", "package_slug": "go/github.com/go-vela/server", "pubdate": "2022-11-10", "solution": "Upgrade to version 0.16.0 or above.", "title": "Improper Privilege Management", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39395", "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist", "https://github.com/go-vela/worker/releases/tag/v0.16.0", "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4", "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", "https://github.com/go-vela/ui/releases/tag/v0.17.0", "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images", "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v", "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w", "https://github.com/go-vela/server/releases/tag/v0.16.0", "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-xf39-98m2-889v", "https://github.com/advisories/GHSA-5m7g-pj8w-7593" ], "uuid": "f2fd47fa-40c6-4fee-8352-2234b297c723", "versions": [ { "commit": { "sha": "e972584299eb9989525aa62df9438d9bd60429f1", "tags": [ "v0.16.0" ], "timestamp": "20221109161535" }, "number": "v0.16.0" } ] }, { "affected_range": "\u003c0", "affected_versions": "All versions before 0.16.0", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-11-09", "description": "Some current default configurations for Vela allow exploitation and container breakouts. Running Vela plugins as privileged Docker containers allows a malicious user to easily break out of the container and gain access to the worker host operating system. On a fresh install of Vela without any additional configuration, the `target/vela-docker` plugin will run as a privileged container, even if the Vela administrators did not intend to allow for any privileged plugins, and even if the vela.yml configuration file does not use the `privileged = True` flag. Privileged containers permit trivial breakouts, which can pose significant risk to the environment in which Vela is running.", "fixed_versions": [ "v0.16.0" ], "identifier": "GMS-2022-6556", "identifiers": [ "GHSA-5m7g-pj8w-7593", "GMS-2022-6556", "CVE-2022-39395" ], "not_impacted": "All versions starting from 0.16.0", "package_slug": "go/github.com/go-vela/server", "pubdate": "2022-11-09", "solution": "Upgrade to version 0.16.0 or above.", "title": "Duplicate of ./go/github.com/go-vela/server/CVE-2022-39395.yml", "urls": [ "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4", "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-xf39-98m2-889v", "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", "https://github.com/go-vela/server/releases/tag/v0.16.0", "https://github.com/advisories/GHSA-5m7g-pj8w-7593" ], "uuid": "bf934b13-e9de-4cd7-8253-548b5aaa1cd1", "versions": [ { "commit": { "sha": "e972584299eb9989525aa62df9438d9bd60429f1", "tags": [ "v0.16.0" ], "timestamp": "20221109161535" }, "number": "v0.16.0" } ] }, { "affected_range": "\u003cv0.16.0", "affected_versions": "All versions before 0.16.0", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "cwe_ids": [ "CWE-1035", "CWE-269", "CWE-937" ], "date": "2022-11-17", "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\u0027s `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.", "fixed_versions": [ "v0.16.0" ], "identifier": "CVE-2022-39395", "identifiers": [ "CVE-2022-39395", "GHSA-5m7g-pj8w-7593", "GHSA-xf39-98m2-889v", "GHSA-2w78-ffv6-p46w", "GMS-2022-6557" ], "not_impacted": "All versions after 0.16.0", "package_slug": "go/github.com/go-vela/worker", "pubdate": "2022-11-10", "solution": "Upgrade to version 0.16.0 or above.", "title": "Improper Privilege Management", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-39395", "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist", "https://github.com/go-vela/worker/releases/tag/v0.16.0", "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4", "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", "https://github.com/go-vela/ui/releases/tag/v0.17.0", "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images", "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v", "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w", "https://github.com/go-vela/server/releases/tag/v0.16.0", "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-xf39-98m2-889v", "https://github.com/advisories/GHSA-5m7g-pj8w-7593" ], "uuid": "3eaaef7c-b948-4824-9fd1-d914e0607e3a", "versions": [ { "commit": { "sha": "31964ee6a79c70cc4a9b5927e7f7573a71762148", "tags": [ "v0.16.0" ], "timestamp": "20221109163243" }, "number": "v0.16.0" } ] }, { "affected_range": "\u003c0", "affected_versions": "All versions before 0.16.0", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-11-09", "description": "Some current default configurations for Vela allow exploitation and container breakouts. Running Vela plugins as privileged Docker containers allows a malicious user to easily break out of the container and gain access to the worker host operating system. On a fresh install of Vela without any additional configuration, the `target/vela-docker` plugin will run as a privileged container, even if the Vela administrators did not intend to allow for any privileged plugins, and even if the vela.yml configuration file does not use the privileged = True flag. Privileged containers permit trivial breakouts, which can pose significant risk to the environment in which Vela is running.", "fixed_versions": [ "v0.16.0" ], "identifier": "GMS-2022-6557", "identifiers": [ "GHSA-5m7g-pj8w-7593", "GMS-2022-6557", "CVE-2022-39395" ], "not_impacted": "All versions starting from 0.16.0", "package_slug": "go/github.com/go-vela/worker", "pubdate": "2022-11-09", "solution": "Upgrade to version 0.16.0 or above.", "title": "Duplicate of ./go/github.com/go-vela/worker/CVE-2022-39395.yml", "urls": [ "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w", "https://advisory-inbox.githubapp.com/advisory_reviews/GHSA-xf39-98m2-889v", "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", "https://github.com/go-vela/server/releases/tag/v0.16.0", "https://github.com/advisories/GHSA-5m7g-pj8w-7593" ], "uuid": "f74c96ee-e225-45c7-9ac7-edad494c6146", "versions": [ { "commit": { "sha": "31964ee6a79c70cc4a9b5927e7f7573a71762148", "tags": [ "v0.16.0" ], "timestamp": "20221109163243" }, "number": "v0.16.0" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:go-vela:ui:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.17.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:go-vela:worker:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.16.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:go-vela:server:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.16.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-39395" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "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\u0027s `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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-269" } ] } ] }, "references": { "reference_data": [ { "name": "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://go-vela.github.io/docs/installation/server/reference/#vela_repo_allowlist" }, { "name": "https://github.com/go-vela/worker/releases/tag/v0.16.0", "refsource": "MISC", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://github.com/go-vela/worker/releases/tag/v0.16.0" }, { "name": "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/go-vela/server/commit/05558ee99d70f7d6f83bed7c8f78ac0b35fa26f4" }, { "name": "https://docs.docker.com/engine/security/#docker-daemon-attack-surface", "refsource": "MISC", "tags": [ "Technical Description", "Third Party Advisory" ], "url": "https://docs.docker.com/engine/security/#docker-daemon-attack-surface" }, { "name": "https://github.com/go-vela/ui/releases/tag/v0.17.0", "refsource": "MISC", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://github.com/go-vela/ui/releases/tag/v0.17.0" }, { "name": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/go-vela/server/security/advisories/GHSA-5m7g-pj8w-7593" }, { "name": "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://go-vela.github.io/docs/installation/worker/reference/#vela_runtime_privileged_images" }, { "name": "https://github.com/go-vela/ui/security/advisories/GHSA-xf39-98m2-889v", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "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", "tags": [ "Third Party Advisory" ], "url": "https://github.com/go-vela/worker/security/advisories/GHSA-2w78-ffv6-p46w" }, { "name": "https://github.com/go-vela/server/releases/tag/v0.16.0", "refsource": "MISC", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://github.com/go-vela/server/releases/tag/v0.16.0" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.9, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "LOW", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" }, "exploitabilityScore": 3.1, "impactScore": 6.0 } }, "lastModifiedDate": "2022-11-17T16:45Z", "publishedDate": "2022-11-10T18:15Z" } } }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…