First published: Thu Apr 29 2021(Updated: )
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.
Credit: jordan@liggitt.net
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/openshift | <0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8 | 0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8 |
redhat/kubernetes | <1.21.1 | 1.21.1 |
redhat/kubernetes | <1.20.7 | 1.20.7 |
redhat/kubernetes | <1.19.11 | 1.19.11 |
redhat/kubernetes | <1.18.19 | 1.18.19 |
Kubernetes Dashboard | >=1.16.0<1.18.19 | |
Kubernetes Dashboard | >=1.19.0<1.19.10 | |
Kubernetes Dashboard | >=1.20.0<1.20.7 | |
Kubernetes Dashboard | =1.21.0 |
* Prevent untrusted users from creating or modifying EndpointSlices * Creating a validating admission webhook that prevents EndpointSlices with endpoint addresses in the 127.0.0.0/8 and 169.254.0.0/16 ranges
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2021-25737 is medium.
An authorized user can exploit CVE-2021-25737 by redirecting pod traffic to private networks on a Node.
The following software versions are affected by CVE-2021-25737: Kubernetes 1.21.1, Kubernetes 1.20.7, Kubernetes 1.19.11, Kubernetes 1.18.19, OpenShift 4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8.
To fix CVE-2021-25737, update your Kubernetes or OpenShift software to the appropriate remediation version: Kubernetes 1.21.1, Kubernetes 1.20.7, Kubernetes 1.19.11, Kubernetes 1.18.19, OpenShift 4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8.
You can find more information about CVE-2021-25737 at the following references: [1] GitHub: https://github.com/kubernetes/kubernetes/pull/101084 [2] Red Hat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1962296 [3] Red Hat Advisory: https://access.redhat.com/errata/RHSA-2021:2437