Vulnerability · Published Mar 22, 2023 · Assigned by GitHub_M
CVE-2023-28114`cilium-cli` disables etcd authorization for clustermesh clusters
Medium 4.8
In plain English
A medium-severity security flaw in cilium-cli from cilium. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
`cilium-cli` is the command line interface to install, manage, and troubleshoot Kubernetes clusters running Cilium. Prior to version 0.13.2,`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. Users who have set up cluster meshes using the Cilium Helm chart are not affected by this issue. 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. This issue is patched in `cilium-cli` 0.13.2. As a workaround, one may use Cilium's Helm charts to create their cluster.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/cilium/cilium-cli | 0.13.2 | GHSA-6f27-3p6c-p5jc |
| Go | github.com/cilium/cilium-cli | 0.13.2 | GO-2023-1653 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| cilium | cilium-cli | < 0.13.2 |
Weakness: CWE-280, CWE-755 · Vector: CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
References
- https://github.com/cilium/cilium-cli/security/advisories/GHSA-6f27-3p6c-p5jc x_refsource_CONFIRM
- https://github.com/cilium/cilium-cli/commit/fb1427025764e1eebc4a7710d902c4f22cae2610 x_refsource_MISC
- https://artifacthub.io/packages/helm/cilium/cilium x_refsource_MISC
- https://github.com/cilium/cilium-cli/releases/tag/v0.13.2 x_refsource_MISC