CVE-2022-35976

Source
https://cve.org/CVERecord?id=CVE-2022-35976
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35976.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-35976
Aliases
  • GHSA-287h-vjhw-jqf7
Published
2022-08-18T18:50:08Z
Modified
2026-03-11T00:18:03.315790Z
Severity
  • 5.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
Summary
Improper KubeConfig handling allows arbitrary code execution
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/35xxx/CVE-2022-35976.json"
}
References

Affected packages

Git / github.com/weaveworks/vscode-gitops-tools

Affected ranges

Type
GIT
Repo
https://github.com/weaveworks/vscode-gitops-tools
Events

Affected versions

0.*
0.19.3
0.19.4
0.19.5
0.19.6
0.19.8
0.19.9
0.20.0
0.20.1
0.20.10
0.20.11
0.20.3
0.20.4
0.20.5
0.20.6
0.20.7
0.20.8
0.20.9
0.21.0
0.22.0
0.22.2
0.22.3
0.22.4
0.22.5
0.23.0
0.23.1
0.23.2
0.23.3-edge.0
0.24.0
0.24.1
0.24.2
0.24.3
0.24.4-edge.0
0.24.4-edge.1
0.25.0
0.25.1
0.25.2
0.25.2-edge.0
0.25.2-edge.1
0.25.2-edge.2
0.25.2-edge.3
0.25.2-edge.4
0.25.2-edge.5
0.25.3
0.25.4
0.26.0
0.26.1-edge.0
0.26.1-edge.1
0.27.0
v0.*
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.19.1
v0.19.2
v0.19.2-pre1
v0.19.2-pre3
v0.19.2-pre4
v0.19.3
v0.19.4
v0.19.5
v0.19.6
v0.19.8
v0.19.9
v0.20.0
v0.20.1
v0.20.10
v0.20.11
v0.20.3
v0.20.4
v0.20.5
v0.20.6
v0.20.7
v0.20.8
v0.20.9
v0.21.0
v0.22.0
v0.22.2
v0.22.3
v0.22.4
v0.22.5
v0.23.0
v0.23.1
v0.23.2
v0.23.3-edge.0
v0.24.0
v0.24.1
v0.24.2
v0.24.3
v0.24.4-edge.0
v0.24.4-edge.1
v0.25.0
v0.25.1
v0.25.2
v0.25.2-edge.0
v0.25.2-edge.1
v0.25.2-edge.2
v0.25.2-edge.3
v0.25.2-edge.4
v0.25.2-edge.5
v0.25.3
v0.25.4
v0.26.0
v0.26.1-edge.0
v0.26.1-edge.1
v0.27.0
v0.5.0
v0.6.0
v0.7.0
v0.9.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-35976.json"