Описание
Network policy may be bypassed by some ICMP Echo Requests
Impact
Under certain conditions, ICMP Echo Request sent to a Cilium endpoint from an actor may bypass a network policy which disallows access from the actor to the endpoint, but allows from the endpoint to the actor. This does NOT apply to UDP and TCP traffic.
The actor is either a pod or a cluster host or a remote host.
The following conditions must be met:
- Network policies have been created which: a) do not allow access from the actor to the endpoint; b) allow access from the endpoint to the actor and does not specify neither protocol nor port.
- The endpoint has sent ICMP Echo Request to the actor with the ICMP identifier X.
- The actor sends ICMP Echo Request to the endpoint with the same ICMP identifier X.
- The request from the actor (3.) is sent before the Cilium's conntrack GC has removed the previously created conntrack entry (2.).
Detailed description
See https://github.com/cilium/cilium/commit/dfb008a9099c4da1e0fd964c899c43ee13280b0e (v1.9.x), https://github.com/cilium/cilium/commit/ff6ebae6efca1bd991302b464dea428512823e79 (v1.8.x), https://github.com/cilium/cilium/commit/472bbeff75161979c317ab21d563f826291b5f37 (v1.7.x).
Example
For more information
If you have any questions or comments about this advisory:
- Open an issue in Cilium Issues
- Email us at security@cilium.io
Пакеты
github.com/cilium/cilium
>= 1.7.8, <= 1.7.14
1.7.15
github.com/cilium/cilium
>= 1.8.3, <= 1.8.7
1.8.8
github.com/cilium/cilium
>= 1.9.0, <= 1.9.4
1.9.5