{"answers":{"affected":"3 open source packages ship an affected version, including github.com/weaveworks/weave-gitops. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-23509 in the wild and no public exploit code.","fix":"Upgrade github.com/weaveworks/weave-gitops to 0.12.0 or later.","what":"CVE-2022-23509 is a high-severity vulnerability in weaveworks weave-gitops, published on 9 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2022-23509 and fix it if it is affected.\n\nWhat it is: CVE-2022-23509 is a high-severity vulnerability in weaveworks weave-gitops, published on 9 Jan 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2022-23509 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/weaveworks/weave-gitops (Go): affected all versions; fixed in 0.12.0\n- github.com/weaveworks/weave-gitops (Go): affected all versions; fixed in 0.12.0\n- github.com/weaveworks/weave-gitops (Go): affected all versions; fixed in 0.12.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-23509/ (Markdown: https://insights.sbomify.com/CVE-2022-23509/index.md)","id":"CVE-2022-23509","markdown":"https://insights.sbomify.com/CVE-2022-23509/index.md","name":"CVE-2022-23509","record":{"aliases":["GHSA-89qm-wcmw-3mgg","GO-2023-1388"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Weave GitOps Run","requires_auth":"high_privilege","summary":"Unencrypted local S3 communication allows attackers to intercept credentials and modify Kubernetes cluster resources via the GitOps Run tool.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"weave_gitops","vendor":"weave"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-319","name":"Cleartext Transmission of Sensitive Information"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertise. GitOps run has a local S3 bucket which it uses for synchronizing files that are later applied against a Kubernetes cluster. The communication between GitOps Run and the local S3 bucket is not encrypted. This allows privileged users or process to tap the local traffic to gain information permitting access to the s3 bucket. From that point, it would be possible to alter the bucket content, resulting in changes in the Kubernetes cluster's resources. There are no known workaround(s) for this vulnerability. This vulnerability has been fixed by commits ce2bbff and babd915. Users should upgrade to Weave GitOps version \u003e= v0.12.0 released on 08/12/2022.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Weave Gitops Run vulnerable to insecure communication","id":"CVE-2022-23509","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2022"},"n_packages":3,"n_references":3,"next":{"headline":"SQl injection in cube-js","id":"CVE-2022-23510"},"packages":[{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/weaveworks/weave-gitops","purl":null,"source":"GHSA-89qm-wcmw-3mgg"},{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/weaveworks/weave-gitops","purl":"pkg:golang/github.com/weaveworks/weave-gitops","source":"GHSA-89qm-wcmw-3mgg"},{"ecosystem":"Go","fixed":["0.12.0"],"introduced":["0"],"last_affected":[],"package":"github.com/weaveworks/weave-gitops","purl":"pkg:golang/github.com/weaveworks/weave-gitops","source":"GO-2023-1388"}],"prev":{"headline":"GitOps Run allows for Kubernetes workload injection","id":"CVE-2022-23508"},"products":["weave-gitops"],"published":"2023-01-09","related":[{"cvss_score":9,"headline":"Weave GitOps leaked cluster credentials into logs on connection errors","id":"CVE-2022-31098","kev_date_added":null,"published":"2022-06-27"},{"cvss_score":8.9,"headline":"GitOps Run allows for Kubernetes workload injection","id":"CVE-2022-23508","kev_date_added":null,"published":"2023-01-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-03-10","vendors":["weaveworks"]},"summary":"Unencrypted local S3 communication allows attackers to intercept credentials and modify Kubernetes cluster resources via the GitOps Run tool.","url":"https://insights.sbomify.com/CVE-2022-23509/"}