Skip to content

CVE-2021-25737 Holes in EndpointSlice Validation Enable Host Network Hijack

MediumCVSS 4.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known
Technology
KubernetesUbuntuDebian

Description

A security issue was discovered in Kubernetes where a user may be able to redirect pod traffic to private networks on a Node. Kubernetes already prevents creation of Endpoint IPs in the localhost or link-local range, but the same validation was not performed on EndpointSlice IPs.

Upgrade path

8 packages: 5 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/kubernetes(Ubuntu 22.04) = 1.0; All versions No fix listed No fix yet
ubuntu/kubernetes(Ubuntu 24.04) = 1.0; All versions No fix listed No fix yet
ubuntu/kubernetes(Ubuntu Pro 20.04) = 1.0; All versions No fix listed No fix yet
debian/kubernetes(Debian 12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
debian/kubernetes(Debian 14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1 Fixed
Kubernetes <= 1.18.18; <= 1.19.10; <= 1.20.6; <= 1.21.0 +4 more 1.18.19, 1.19.10, 1.20.7 Fixed
Kubernetes(Go) = 1.21.0; >= 1.16.0, < 1.18.19; >= 1.19.0, < 1.19.11; >= 1.20.0, < 1.20.7 +1 more 1.18.19, 1.19.11, 1.20.7, 1.21.1 Fixed

Affected products

ProductAffected versionsFixed in
Kubernetes(Go) >= 1.16.0, < 1.18.19 1.18.19
Kubernetes(Go) >= 1.19.0, < 1.19.11 1.19.11
Kubernetes(Go) >= 1.20.0, < 1.20.7 1.20.7
Kubernetes(Go) = 1.21.0 No fix listed
Kubernetes(Go) >= 1.21.0, < 1.21.1 1.21.1
debian/kubernetes(Debian:12) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:13) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
debian/kubernetes(Debian:14) < 1.20.5+really1.20.2-1 1.20.5+really1.20.2-1
Kubernetes >= 1.16.0, < 1.18.19 1.18.19
Kubernetes >= 1.19.0, < 1.19.10 1.19.10
Kubernetes >= 1.20.0, < 1.20.7 1.20.7
Kubernetes = 1.21.0 No fix listed
Kubernetes <= 1.18.18 No fix listed
Kubernetes <= 1.19.10 No fix listed
Kubernetes <= 1.20.6 No fix listed
Kubernetes <= 1.21.0 No fix listed
ubuntu/kubernetes(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:Pro:20.04) = 1.0 No fix listed
ubuntu/kubernetes(Ubuntu:22.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:22.04) = 1.0 No fix listed
ubuntu/kubernetes(Ubuntu:24.04) All versions No fix listed
ubuntu/kubernetes(Ubuntu:24.04) = 1.0 No fix listed

References