cve.bz

CVE-2021-25737 kubernetes kubernetes: Open Redirect

4.8 mediumEPSS 1.3%Fix available

Medium (4.8) in kubernetes kubernetes. EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in k8s.io/kubernetes 1.18.19, 1.19.11, 1.20.7.

On this page
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.

Severity

CVSS 3.1

4.8 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-601 URL Redirection to Untrusted Site (Open Redirect)
CWE-184 Incomplete List of Disallowed Inputs
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-25737 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-25737?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-25737?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-25737 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Kubernetesthrough 1.18.18
Kubernetesthrough 1.19.10
Kubernetesthrough 1.20.6
Kubernetesthrough 1.21.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mfv7-gq43-w965Gok8s.io/kubernetes>=1.16.0 <1.18.191.18.19
GHSA-mfv7-gq43-w965Gok8s.io/kubernetes>=1.19.0 <1.19.111.19.11
GHSA-mfv7-gq43-w965Gok8s.io/kubernetes>=1.20.0 <1.20.71.20.7
GHSA-mfv7-gq43-w965Gok8s.io/kubernetes>=1.21.0 <1.21.11.21.1
GO-2022-0908Gok8s.io/kubernetes>=1.16.0 <1.18.19
>=1.19.0 <1.19.11
>=1.20.0 <1.20.7
>=1.21.0 <1.21.1
1.18.19, 1.19.11, 1.20.7, 1.21.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14kubernetes1.20.5+really1.20.2-1DEBIAN-CVE-2021-25737
Red Hatopenshift:4.8::el7cri-o, cri-o-debuginfo0:1.21.2-5.rhaos4.8.gitb27d974.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7cri-tools, cri-tools-debuginfo0:1.21.0-2.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7haproxy, haproxy-debuginfo0:2.2.13-1.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7openshift, openshift-hyperkube0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7openshift-ansible, openshift-ansible-test0:4.8.0-202106281541.p0.git.626f7a3.assembly.stream.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7openshift-clients, openshift-clients-redistributable0:4.8.0-202106281541.p0.git.1077b05.assembly.stream.el7RHSA-2021:2437
Red Hatopenshift:4.8::el7runc, runc-debuginfo0:1.0.0-98.rhaos4.8.gitcd80260.el7RHSA-2021:2437
Red Hatopenshift:4.8::el8afterburn, rust-afterburn, afterburn-debuginfo and 1 more0:5.0.0-1.rhaos4.8.el8RHSA-2021:2437
Red Hatopenshift:4.8::el8atomic-openshift-service-idler0:4.8.0-202106281541.p0.git.39cfc66.assembly.stream.el8RHSA-2021:2437
Red Hatopenshift:4.8::el8butane, butane-debuginfo0:0.12.1-1.rhaos4.8.el8RHSA-2021:2437
Red Hatopenshift:4.8::el8console-login-helper-messages, console-login-helper-messages-profile, console-login-helper-messages-issuegen0:0.20.3-1.rhaos4.8.el8RHSA-2021:2437
Red Hatopenshift:4.8::el8coreos-installer, coreos-installer-bootinfra, coreos-installer-debuginfo and 2 more0:0.9.0-6.rhaos4.8.el8RHSA-2021:2437
49 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Low.

Red Hat's statement

OpenShift Container Platform (OCP) 3.11 is not affected by this vulnerability as it does not support EndpointSlices. All current versions of OCP 4 support EndpointSlices and are therefore affected.

Red Hat's mitigation

* 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

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.8openshift-0:4.8.0-202107161820.p0.git.051ac4f.assembly.stream.el7Fixed 2021-07-27RHSA-2021:2437
Red Hat OpenShift Container Platform 3.11atomic-openshiftNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-25737.

Attack patterns (CAPEC)

  • CAPEC-178 Cross-Site Flashing Likelihood: Medium · Severity: Medium
  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-71 Using Unicode Encoding to Bypass Validation Logic Likelihood: Medium · Severity: High
  • CAPEC-73 User-Controlled Filename Likelihood: High · Severity: High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-120 Double Encoding Likelihood: Low · Severity: Medium
  • CAPEC-182 Flash Injection Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON