GitHub Advisoryadvisory · Go
GHSA-6f27-3p6c-p5jc `cilium-cli` disables etcd authorization for clustermesh clusters
MEDIUM
Official page ↗
- Aliases
- CVE-2023-28114
- Ecosystem
- Go
- Packages
- github.com/cilium/cilium-cli
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-280
- Reviewed
- 2023-03-21
Affected packages
• Go github.com/cilium/cilium-cli: < 0.13.2 → fixed in 0.13.2
Description
Impact
`cilium-cli`, when used to configure cluster mesh functionality, can remove the enforcement of user permissions on the `etcd` store used to mirror local cluster information to remote clusters.
Due to an incorrect mount point specification, the settings specified by the `initContainer` that configures `etcd` users and their permissions are overwritten when using `cilium-cli` to configure a cluster mesh. An attacker who has already gained access to a valid key and certificate for an `etcd` cluster compromised in this manner could then modify state in that `etcd` cluster.
Patches
This issue is patched in `cilium-cli` 0.13.2
All previous versions of `cilium-cli` are affected. Users who have set up cluster meshes using the Cilium Helm chart are not affected.
Workarounds
Use Cilium's Helm charts to create your cluster instead.
Acknowledgements
The Cilium community has worked together with members of Isovalent to prepare these mitigations. Special thanks to Marco Iorio for investigating and fixing the issue.
For more information
If you have any questions or comments about this advisory, please reach out on Slack.
As usual, if you think you found a related vulnerability, we strongly encourage you to report security vulnerabilities to our private security mailing list: [email protected] - first, before disclosing them in any public forums. This is a private mailing list where only members of the Cilium internal security team are subscribed to, and is treated as top priority.
Related
Alias · CVE (1)
- CVE-2023-28114 `cilium-cli` is the command line interface to install, manage, and troubleshoot Kubernetes clusters running Cilium. vulnerability
Weakness · CWE (1)
- CWE-280 Improper Handling of Insufficient Permissions or Privileges weakness
References
- https://github.com/cilium/cilium-cli/security/advisories/GHSA-6f27-3p6c-p5jc web
- https://nvd.nist.gov/vuln/detail/CVE-2023-28114 advisory
- https://github.com/cilium/cilium-cli/commit/fb1427025764e1eebc4a7710d902c4f22cae2610 web
- https://artifacthub.io/packages/helm/cilium/cilium web
- https://github.com/cilium/cilium-cli package
- https://github.com/cilium/cilium-cli/releases/tag/v0.13.2 web