github.com/openkruise/kruise
Affected
- introduced
0.8.0, fixed1.3.1(semver)
Fixed versions
1.3.1
Fix
- Fixed version
1.3.1go get github.com/openkruise/[email protected]
Advisory
Also known as: CVE-2023-30617
Kruise allows leveraging the kruise-daemon pod to list all secrets in the entire cluster
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
Medium Basis: The source's own band: MODERATE
0.8.0, fixed 1.3.1 (semver)1.3.1
1.3.1go get github.com/openkruise/[email protected]1.4.0, fixed 1.4.1 (semver)1.4.1
1.4.1go get github.com/openkruise/[email protected]1.5.0, fixed 1.5.2 (semver)1.5.2
1.5.2go get github.com/openkruise/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0