CVE-2021-25737
JSON

2.7low

Holes in EndpointSlice Validation Enable Host Network Hijack

Severity
2.7low CVSS:3.1 by kubernetes
Exploit likelihood
1.33% (higher than 71% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
kubernetes
Also known as
GHSA-mfv7-gq43-w965GO-2022-0908

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.

Affected

Product or packageVersionsReported by
Kubernetes Kubernetesfrom unspecified up to 1.18.18, from unspecified up to 1.19.10, from unspecified up to 1.20.6, from unspecified up to 1.21.0, from 1.16.0 before 1.18.19, from 1.19.0 before 1.19.10, from 1.20.0 before 1.20.7, 1.21.0CVE List, NVD
k8s.io/kubernetes (Go)from 1.16.0 before 1.18.19, from 1.19.0 before 1.19.11, from 1.20.0 before 1.20.7, from 1.21.0 before 1.21.1GitHub Advisory Database, Go Vulnerability Database

All scores

kubernetes2.7low CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

Go Vulnerability Database

Incomplete List of Disallowed Inputs in Kubernetes in k8s.io/kubernetes

NVD (es)

Se ha detectado un problema de seguridad en Kubernetes en el que un usuario puede ser capaz de redirigir el tráfico del pod a redes privadas en un Nodo. Kubernetes ya previene la creación de IPs de Endpoint en el rango localhost o link-local, pero no se ha llevado a cabo la misma comprobación en las IPs de EndpointSlice.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-25737 changed 2024-09-16CVE Terms of Use
GitHub Advisory DatabaseGHSA-mfv7-gq43-w965 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0908 changed 2026-03-03CC-BY-4.0
NVDCVE-2021-25737 changed 2026-06-17Public domain