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.
More hard Cilium questions
- What is the purpose of Cilium's egress gateway feature?
- What is the purpose of Cilium's 'prefilter' feature?
- In Cilium's tunnel mode (VXLAN or Geneve), how does the receiving node learn the security identity of a packet sent by a pod on another node?
- A CiliumNetworkPolicy contains HTTP rules, such as allowing only GET requests to /api. Which component enforces those rules?
- How does a client experience a request blocked by an L3/L4 Cilium policy, compared with one blocked by an L7 HTTP rule?
- With Cilium's default policy enforcement mode, when does a pod go from allowing all ingress traffic to denying everything that isn't explicitly allowed?