GitHub Advisoryadvisory · Go

GHSA-437m-7hj5-9mpw Kruise allows leveraging the kruise-daemon pod to list all secrets in the entire cluster

MEDIUM Published 2024-01-05 Modified 2024-01-05 Official page ↗
Aliases
CVE-2023-30617
Ecosystem
Go
Packages
github.com/openkruise/kruise
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-250, CWE-269
Reviewed
2024-01-05

Affected packages

• Go github.com/openkruise/kruise: >= 0.8.0, < 1.3.1 → fixed in 1.3.1 • Go github.com/openkruise/kruise: >= 1.4.0, < 1.4.1 → fixed in 1.4.1 • Go github.com/openkruise/kruise: >= 1.5.0, < 1.5.2 → fixed in 1.5.2

Description

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

Related

Alias · CVE (1)

  • CVE-2023-30617 Kruise provides automated management of large-scale applications on Kubernetes. vulnerability

Weakness · CWE (2)

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

References