CNTR-R2-001580 Rancher RKE2 must remove old components after updated versions have been installed.

Information

Previous versions of Rancher RKE2 components that are not removed after updates have been installed may be exploited by adversaries by causing older components to execute which contain vulnerabilities. When these components are deleted, the likelihood of this happening is removed.

NOTE: Nessus has provided the target output to assist in reviewing the benchmark to ensure target compliance.

Solution

Remove any old pods that are using older images. On the RKE2 Control Plane, run the command:

kubectl delete pod podname
(Note: "podname" is the name of the pod to delete.)

Run the command:
systemctl restart rke2-server

See Also

https://workbench.cisecurity.org/benchmarks/0

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-2(6), CAT|II, CCI|CCI-002617, Rule-ID|SV-254574r961677_rule, STIG-ID|CNTR-R2-001580, Vuln-ID|V-254574

Plugin: Unix

Control ID: 7d4eb915fecfbeae19e93b7ca091af5a1b4131f36db0c6b774f72e7a18a40e3d