CVE-2024-42480
RBAC Roles for `etcd` created by Kamaji are not disjunct
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
Kamaji is the Hosted Control Plane Manager for Kubernetes. In versions 1.0.0 and earlier, Kamaji uses an "open at the top" range definition in RBAC for etcd roles leading to some TCPs API servers being able to read, write, and delete the data of other control planes. This vulnerability is fixed in edge-24.8.2.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/clastix/kamaji | no fix listed |
References
- https://github.com/clastix/kamaji
- https://github.com/clastix/kamaji/blob/8cdc6191242f80d120c46b166e2102d27568225a/internal/datastore/etcd.go#L19-L24
- https://github.com/clastix/kamaji/commit/1731e8c2ed5148b125ecfbdf091ee177bd44f3db
- https://github.com/clastix/kamaji/security/advisories/GHSA-6r4j-4rjc-8vw5
- https://nvd.nist.gov/vuln/detail/CVE-2024-42480