Lucene search

K
cvelistGitHub_MCVELIST:CVE-2022-35976
HistoryAug 18, 2022 - 6:50 p.m.

CVE-2022-35976 Improper KubeConfig handling allows arbitrary code execution

2022-08-1818:50:08
CWE-78
GitHub_M
www.cve.org
3
cve-2022-35976
kubeconfig
arbitrary code execution
gitops tools extension
vscode
kubernetes clusters

CVSS3

5.2

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

AI Score

9.8

Confidence

High

EPSS

0.003

Percentile

66.1%

The GitOps Tools Extension for VSCode relies on kubeconfigs in order to communicate with Kubernetes clusters. A specially crafted kubeconfig leads to arbitrary code execution on behalf of the user running VSCode. Users relying on kubeconfigs that are generated or altered by other processes or users are affected by this issue. Please note that the vulnerability is specific to this extension, and the same kubeconfig would not result in arbitrary code execution when used with kubectl. Using only trust-worthy kubeconfigs is a safe mitigation. However, updating to the latest version of the extension is still highly recommended.

CNA Affected

[
  {
    "product": "vscode-gitops-tools",
    "vendor": "weaveworks",
    "versions": [
      {
        "status": "affected",
        "version": ">= 0.5.0, <= 0.20.9"
      }
    ]
  }
]

CVSS3

5.2

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L

AI Score

9.8

Confidence

High

EPSS

0.003

Percentile

66.1%

Related for CVELIST:CVE-2022-35976