CVE-2023-30617 Leverage the kruise-daemon pod to list all secrets in the entire cluster
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
- Technology
- Kubernetes
Description
Kruise provides automated management of large-scale applications on Kubernetes. Starting in version 0.8.0 and prior to versions 1.3.1, 1.4.1, and 1.5.2, an attacker who has gained root privilege of the node that kruise-daemon run can leverage the kruise-daemon pod to list all secrets in the entire cluster. After that, the attacker can leverage the "captured" secrets (e.g. the kruise-manager service account token) to gain extra privileges such as pod modification. Versions 1.3.1, 1.4.1, and 1.5.2 fix this issue. A workaround is available. For users that do not require imagepulljob functions, they can modify kruise-daemon-role to drop the cluster level secret get/list privilege.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| openkruise kruise | = = 1.4.0; = >= 0.8.0, < 1.3.1; = >= 1.5.0, < 1.5.2; >= 0.8.0, < 1.3.1 +2 more | 1.3.1, 1.4.1, 1.5.2 | Fixed |
| openkruise kruise(Go) | >= 0.8.0, < 1.3.1; >= 1.4.0, < 1.4.1; >= 1.5.0, < 1.5.2 | 1.3.1, 1.4.1, 1.5.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openkruise kruise(Go) | >= 0.8.0, < 1.3.1 | 1.3.1 |
| openkruise kruise(Go) | >= 1.4.0, < 1.4.1 | 1.4.1 |
| openkruise kruise(Go) | >= 1.5.0, < 1.5.2 | 1.5.2 |
| openkruise kruise | = >= 0.8.0, < 1.3.1 | No fix listed |
| openkruise kruise | = = 1.4.0 | No fix listed |
| openkruise kruise | = >= 1.5.0, < 1.5.2 | No fix listed |
| openkruise kruise | >= 0.8.0, < 1.3.1 | 1.3.1 |
| openkruise kruise | >= 1.4.0, < 1.4.1 | 1.4.1 |
| openkruise kruise | >= 1.5.0, < 1.5.2 | 1.5.2 |
References
- https://github.com/openkruise/kruise/security/advisories/GHSA-437m-7hj5-9mpw vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com