Vulnerability · Published Jan 3, 2024 · Assigned by GitHub_M
CVE-2023-30617Leverage the kruise-daemon pod to list all secrets in the entire cluster
Medium 6.5
In plain English
A medium-severity privilege mismanagement in kruise from openkruise. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/openkruise/kruise | 1.3.1 | GHSA-437m-7hj5-9mpw |
| Go | github.com/openkruise/kruise | 1.4.1 | GHSA-437m-7hj5-9mpw |
| Go | github.com/openkruise/kruise | 1.5.2 | GHSA-437m-7hj5-9mpw |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| openkruise | kruise | >= 0.8.0, < 1.3.1= 1.4.0>= 1.5.0, < 1.5.2 |
Weakness: CWE-250, CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
References
- https://github.com/openkruise/kruise/security/advisories/GHSA-437m-7hj5-9mpw x_refsource_CONFIRM