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 package | Versions | Reported by |
|---|---|---|
| Kubernetes Kubernetes | from 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.0 | CVE 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.1 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| kubernetes | 2.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.9medium CVSS:2.0 | AV: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
| https://groups.google.com/g/kubernetes-security-announce/c/xAiN3924thY | mailing-list, third-party-advisory, web | |
| https://github.com/kubernetes/kubernetes/issues/102106 | patch, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20211004-0004/ | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-25737 | advisory | |
| https://github.com/kubernetes/kubernetes | package | |
| https://security.netapp.com/advisory/ntap-20211004-0004 | web | |
| https://github.com/advisories/GHSA-mfv7-gq43-w965 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25737 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mfv7-gq43-w965 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0908 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-25737 changed 2026-06-17 | Public domain |