← back
CVE-2022-23508

GitOps Run allows for Kubernetes workload injection

CVSS 8.9 HIGHEPSS 0.3%CWE-284CWE-538CWE-552
In short

Weave GitOps had an unprotected local storage bucket that allowed anyone on the same computer to secretly add malicious tasks to a Kubernetes cluster without needing any passwords or special access.

Technical detail

CVE-2022-23508 involves an unsecured S3 bucket endpoint in GitOps run that lacked access controls, enabling local privilege escalation and arbitrary Kubernetes workload injection. An attacker with local system access could modify bucket contents and deploy unauthorized workloads to the target cluster without credentials. The vulnerability affects Weave GitOps versions prior to v0.12.0 and was resolved through access control implementations.

Summary generated and translated by AI from the official description.
Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertise. A vulnerability in GitOps run could allow a local user or process to alter a Kubernetes cluster's resources. GitOps run has a local S3 bucket which it uses for synchronizing files that are later applied against a Kubernetes cluster. Its endpoint had no security controls to block unauthorized access, therefore allowing local users (and processes) on the same machine to see and alter the bucket content. By leveraging this vulnerability, an attacker could pick a workload of their choosing and inject it into the S3 bucket, which resulted in the successful deployment in the target cluster, without the need to provide any credentials to either the S3 bucket nor the target Kubernetes cluster. There are no known workarounds for this issue, please upgrade. This vulnerability has been fixed by commits 75268c4 and 966823b. Users should upgrade to Weave GitOps version >= v0.12.0 released on 08/12/2022. ### Workarounds There is no workaround for this vulnerability. ### References Disclosed by Paulo Gomes, Senior Software Engineer, Weaveworks. ### For more information If you have any questions or comments about this advisory: - Open an issue in [Weave GitOps repository](https://github.com/weaveworks/weave-gitops) - Email us at [support@weave.works](mailto:support@weave.works)
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →