6.5medium
Leverage the kruise-daemon pod to list all secrets in the entire cluster
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.71% (higher than 49% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-437m-7hj5-9mpw
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
| Product or package | Versions | Reported by |
|---|---|---|
| openkruise kruise | >= 0.8.0, < 1.3.1, = 1.4.0, >= 1.5.0, < 1.5.2, from 0.8.0 before 1.3.1, from 1.4.0 before 1.4.1, from 1.5.0 before 1.5.2 | CVE List, NVD |
| github.com/openkruise/kruise (Go) | from 0.8.0 before 1.3.1, from 1.4.0 before 1.4.1, from 1.5.0 before 1.5.2 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Attacker that has gain 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, attackers can leverage the "captured" secrets (e.g. the kruise-manager service account token) to gain extra privilege such as pod modification.
Workarounds
For users that do not require imagepulljob functions, they can modify kruise-daemon-role to drop the cluster level secret get/list privilege
Patches
For users who're using v0.8.x ~ v1.2.x, please update the v1.3.1 For users who're using v1.3, please update the v1.3.1 For users who're using v1.4, please update the v1.4.1 For users who're using v1.5, please update the v1.5.2
References
None
NVD (es)
Kruise proporciona gestión automatizada de aplicaciones a gran escala en Kubernetes. A partir de la versión 0.8.0 y antes de las versiones 1.3.1, 1.4.1 y 1.5.2, un atacante que haya obtenido privilegios de root en el nodo que ejecuta kruise-daemon puede aprovechar el pod kruise-daemon para enumerar todos los secretos en todo el clúster. Después de eso, el atacante puede aprovechar los secretos "capturados" (por ejemplo, el token de la cuenta de servicio kruise-manager) para obtener privilegios adicionales, como la modificación del pod. Las versiones 1.3.1, 1.4.1 y 1.5.2 solucionan este problema. Hay un workaround disponible. Para los usuarios que no requieren funciones de imagepulljob, pueden modificar kruise-daemon-role para eliminar el privilegio de obtención/lista de secretos a nivel de clúster.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-30617 changed 2025-06-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-437m-7hj5-9mpw changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-30617 changed 2026-06-17 | Public domain |