CVE-2023-30617

Leverage the kruise-daemon pod to list all secrets in the entire cluster

State
Published
Severity
6.5 Medium
Published
Jan 3, 2024
Updated
Jun 16, 2025
Reserved
Apr 13, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-250 Execution with Unnecessary Privileges
  • CWE-269 Improper Privilege Management

Affected Products

ProductVersions
kruiseopenkruise
  • >= 0.8.0, < 1.3.1Affected
  • = 1.4.0Affected
  • >= 1.5.0, < 1.5.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.