CWE
601 184 20
Advisory Published
CVE Published
CVE Published
Updated

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

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 SoftwareAffected VersionHow to fix
Kubernetes Kubernetes>=1.16.0<1.18.19
Kubernetes Kubernetes>=1.19.0<1.19.10
Kubernetes Kubernetes>=1.20.0<1.20.7
Kubernetes Kubernetes=1.21.0
redhat/openshift<0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8
0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el8

Remedy

* 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2021-25737?

    The severity of CVE-2021-25737 is medium.

  • How can an authorized user exploit CVE-2021-25737?

    An authorized user can exploit CVE-2021-25737 by redirecting pod traffic to private networks on a Node.

  • What software versions are affected by CVE-2021-25737?

    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.

  • How do I fix CVE-2021-25737?

    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.

  • Where can I find more information about CVE-2021-25737?

    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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203