{"id":"CVE-2022-23508","published":"2023-01-09T12:56:01Z","modified":"2025-03-10T21:31:29Z","title":"GitOps Run allows for Kubernetes workload injection","vendor":"weaveworks","product":"weave-gitops","tier":"tail","description":{"text":"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.\n\n### Workarounds\nThere is no workaround for this vulnerability.\n\n### References\nDisclosed by Paulo Gomes, Senior Software Engineer, Weaveworks.\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [Weave GitOps repository](https://github.com/weaveworks/weave-gitops)\n- Email us at [support@weave.works](mailto:support@weave.works)\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00333,"percentile":0.27179,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-538","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"references":[{"url":"https://github.com/weaveworks/weave-gitops/security/advisories/GHSA-wr3c-g326-486c","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/weaveworks/weave-gitops/pull/3102/commits/966823bbda8c539a4661e2a4f8607c9307ba6225","tags":["x_refsource_MISC"]},{"url":"https://github.com/weaveworks/weave-gitops/pull/3114/commits/75268c4d2c8f7e4db22c63d76b451ba6545d117f","tags":["x_refsource_MISC"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":5.44},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"weaveworks","affectedVersions":[{"vendor":"weaveworks","product":"weave-gitops","versions":["<= 0.11.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-03-10T20:58:44.555832Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/weaveworks/weave-gitops","vulnerableRanges":["<0.12.0"],"patched":["0.12.0"],"from":["GHSA-wr3c-g326-486c","GO-2023-1377"],"provenance":"source"}],"summary":{"text":"Weave GitOps Run, a component of the weave-gitops developer platform, contains an access control flaw in its local S3 bucket endpoint, which used for synchronizing files applied to Kubernetes clusters has no security controls. An attacker with access to the same machine (a local user or process) with no credentials and with user interaction required can view and alter the bucket contents to inject a workload of their choosing that is deployed to the target Kubernetes cluster.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:05Z"},"euvd":{"id":"EUVD-2023-0577","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-weaveworks-weave-gitops-cve-2022-23508","children":[{"from":"CVE-2022-23508","to":"CVE-2022-23509","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cmd/gitops-bucket-server/main.go","cmd/gitops/beta/run/cmd.go","pkg/logger/s3_log_writer.go","pkg/run/watch/install_dev_bucket_server.go","pkg/s3/minio.go"],"commits":["https://github.com/weaveworks/weave-gitops/commit/966823bbda8c539a4661e2a4f8607c9307ba6225","https://github.com/weaveworks/weave-gitops/commit/75268c4d2c8f7e4db22c63d76b451ba6545d117f","https://github.com/weaveworks/weave-gitops/commit/babd91574b99b310b84aeec9f8f895bd18acb967","https://github.com/weaveworks/weave-gitops/commit/ce2bbff0a3609c33396050ed544a5a21f8d0797f"],"basis":"shared function","functions":["InstallDevBucketServer","runCommandWithoutSession"]}]}]}}