llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/cilium/cilium

GHSA-C66W-HQ56-4Q97

Network policy may be bypassed by some ICMP Echo Requests

Parche disponible
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche6 versionesPrimer parche a -72 d de la divulgación
Exposición2.010 dDesde la divulgación, 21 may 2021, 9:32 a. m.
Detección2.005 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (baja) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Riesgo bajo: ni para escupir.Puedes seguir viendo memes. Con moderación.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
Remediación
Parche v1.7.15 +2
Monitoreo
Detectada
10 mar 21
21 may 21
21 ago 24
17 nov 26
21 nov 26
10 mar 21
13 ago 22
15 ene 24
19 jun 25
21 nov 26
FechaFaseEventoDetalle
Remediación Parche v1.7.15 github.com/cilium/cilium · -72 d desde divulgación
Remediación Parche v1.8.8 github.com/cilium/cilium · -72 d desde divulgación
Remediación Parche v1.9.5 github.com/cilium/cilium · -72 d desde divulgación
Divulgación Publicada GHSA-C66W-HQ56-4Q97 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

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:
1. 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.
2. The endpoint has sent ICMP Echo Request to the actor with the ICMP identifier X.
3. The actor sends ICMP Echo Request to the endpoint with the same ICMP identifier X.
4. 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

$ kubectl run server --image=quay.io/cilium/net-test:v1.0.0 --restart=Never -- sleep 3600
$ kubectl run client --image=quay.io/cilium/net-test:v1.0.0 --restart=Never -- sleep 3600
$ cat <<EOF | kubectl apply -f
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: server-netpol # allow client->server
spec:
  podSelector:
    matchLabels:
      run: server
  ingress:
  - from:
    - podSelector:
        matchLabels:
          run: client
  policyTypes:
  - Ingress
---
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: client-netpol # deny any->client
spec:
  podSelector:
    matchLabels:
      run: client
  policyTypes:
  - Ingress
EOF

$ kubectl exec -ti server -- xping -c1 -x666 $CLIENT_POD_IP
PING 10.154.0.50 (10.154.0.50): 56 data bytes
^C
--- 10.154.0.50 ping statistics ---
1 packets transmitted, 0 packets received, 100% packet loss   <--- "client-netpol" policy denied
command terminated with exit code 1

$ kubectl exec -ti client -- xping -c1 -x666 $SERVER_POD_IP
PING 10.154.1.16 (10.154.1.16): 56 data bytes
64 bytes from 10.154.1.16: seq=0 ttl=60 time=0.822 ms

--- 10.154.1.16 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss   <--- "server-netpol" policy allowed
round-trip min/avg/max = 0.822/0.822/0.822 ms

$ kubectl exec -ti server -- xping -c1 -x666 $CLIENT_POD_IP
PING 10.154.0.50 (10.154.0.50): 56 data bytes
64 bytes from 10.154.0.50: seq=0 ttl=60 time=0.527 ms

--- 10.154.0.50 ping statistics ---
1 packets transmitted, 1 packets received, 0% packet loss   <--- "client-netpol" policy bypassed
round-trip min/avg/max = 0.527/0.527/0.527 ms

For more information

If you have any questions or comments about this advisory:

  • Open an issue in Cilium Issues https://github.com/cilium/cilium/issues
  • Email us at security@cilium.io
Versiones

Rangos afectados

Afectada Corregida Última
github.com/cilium/cilium≥ 1.7.8 < 1.7.15
github.com/cilium/cilium≥ 1.8.3 < 1.8.8
github.com/cilium/cilium≥ 1.9.0 < 1.9.5
1.7.8
1.7.15
1.8.3
1.8.8
1.9.0
1.9.5
v1.20.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/cilium/cilium
Corregida v1.7.15, v1.8.8, v1.9.5 -72 d · -72 d · -72 d v1.20.4 no afectada
Versiones corregidas1.7.15v1.7.151.8.8v1.8.81.9.5v1.9.5
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Otrahttps://github.com/cilium/cilium/security/advisories/GHSA-c66w-hq56-4q97

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.