k8wiz
Cilium
Hard
Security

A Cilium 1.20.4 cluster sets encryption.strictMode.egress.cidr to 10.244.1.0/16. What is the risk?

Select your answer:

Show answer and explanation

Answer: Unencrypted pod traffic can leave the node

Explanation

The value has host bits set, since the canonical form of that /16 is 10.244.0.0/16. Before 1.20.5, a strict egress CIDR with host bits let unencrypted traffic through, which defeats the purpose of strict mode. Cilium 1.20.5 fixes the handling, and writing the CIDR in canonical form avoids the ambiguity.

Read more about Cilium