CVE-2022-31098
Last modified
CVE-2022-31098 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertise. A vulnerability in the logging of Weave GitOps could allow an authenticated remote attacker to view sensitive cluster configurations, aka KubeConfg, of registered Kubernetes clusters, including the service account tokens in plain text from Weave GitOps's pod logs on the management cluster. EPSS estimates a 1.14% chance of exploitation in the next 30 days.
Description
Weave GitOps is a simple open source developer platform for people who want cloud native applications, without needing Kubernetes expertise. A vulnerability in the logging of Weave GitOps could allow an authenticated remote attacker to view sensitive cluster configurations, aka KubeConfg, of registered Kubernetes clusters, including the service account tokens in plain text from Weave GitOps's pod logs on the management cluster. An unauthorized remote attacker can also view these sensitive configurations from external log storage if enabled by the management cluster. This vulnerability is due to the client factory dumping cluster configurations and their service account tokens when the cluster manager tries to connect to an API server of a registered cluster, and a connection error occurs. An attacker could exploit this vulnerability by either accessing logs of a pod of Weave GitOps, or from external log storage and obtaining all cluster configurations of registered clusters. A successful exploit could allow the attacker to use those cluster configurations to manage the registered Kubernetes clusters. This vulnerability has been fixed by commit 567356f471353fb5c676c77f5abc2a04631d50ca. Users should upgrade to Weave GitOps core version v0.8.1-rc.6 or newer. There is no known workaround for this vulnerability.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Weave | Weave Gitops | < 0.8.1 | — |
| Weave | Weave Gitops | 0.8.1 | Rc1 |
References
- https://github.com/weaveworks/weave-gitops/commit/567356f471353fb5c676c77f5abc2a04631d50caPatch, Third Party Advisory
- https://github.com/weaveworks/weave-gitops/security/advisories/GHSA-xggc-qprg-x6mwPatch, Third Party Advisory
- https://github.com/weaveworks/weave-gitops/commit/567356f471353fb5c676c77f5abc2a04631d50caPatch, Third Party Advisory
- https://github.com/weaveworks/weave-gitops/security/advisories/GHSA-xggc-qprg-x6mwPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31098?
How severe is CVE-2022-31098?
How do I fix CVE-2022-31098?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31092Pimcore is an Open Source Data & Experience Management Platf…8.1
- CVE-2022-31093NextAuth.js is a complete open source authentication solutio…7.5
- CVE-2022-31094ScratchTools is a web extension designed to make interacting…6.1
- CVE-2022-31095discourse-chat is a chat plugin for the Discourse applicatio…6.5
- CVE-2022-31096Discourse is an open source discussion platform. Under certa…5.7
- CVE-2022-31097Grafana is an open-source platform for monitoring and observ…8.7
- CVE-2022-31099rulex is a new, portable, regular expression language. When …6.5
- CVE-2022-3110An issue was discovered in the Linux kernel through 5.16-rc6…5.5
- CVE-2022-31100rulex is a new, portable, regular expression language. When …6.5
- CVE-2022-31101prestashop/blockwishlist is a prestashop extension which add…8.8
- CVE-2022-31102Argo CD is a declarative, GitOps continuous delivery tool fo…6.1
- CVE-2022-31103lettersanitizer is a DOM-based HTML email sanitizer for in-b…7.5
Are you affected by CVE-2022-31098?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
