I saw a report that a Calico flaw could let someone who can create pods gain root access to cluster nodes. Which versions fix it, and is there anything useful to do before upgrading?
How serious is the Calico cluster takeover flaw, and what should we do?
Answers
This is a pod escape involving a driver installed on nodes by the Tigera Operator. The driver runs as root and trusted a pod label that Kubernetes had not checked. A pod creator could alter the label to point the driver at files on the node.
Root access on a control-plane node could also expose cluster admin credentials, so the potential impact goes beyond the original pod.
Reply to this answer
Calico 3.32.4 and 3.33.1 contain the fix. Check the image tags on your calico-node pods to see what is running, then plan the upgrade if you're on an affected version.
Reply to this answer
While the upgrade is pending, enforce the restricted Pod Security Standards profile wherever people you don't fully trust can create pods. That's a stopgap, not a substitute for installing the fix.
Reply to this answer
The awkward part is the trust boundary. A convenient label supplied with a pod ended up influencing a root-running node component. Even when the application pod itself looks unprivileged, a trusted driver can give that input much more reach than expected.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Albie:
The reported flaw involves a driver installed by the Tigera Operator, so the deployment setup matters when assessing exposure.