Description
A vulnerability exists in the Kubernetes C# client where the certificate validation logic accepts properly constructed certificates from any Certificate Authority (CA) without properly verifying the trust chain. This flaw allows a malicious actor to present a forged certificate and potentially intercept or manipulate communication with the Kubernetes API server, leading to possible man-in-the-middle attacks and API impersonation.
Kubernetes C# Client: improper certificate validation in custom CA mode may lead to man-in-the-middle attacks
Problem types
CWE-295 Improper Certificate Validation
Product status
Any version
17.0.14
Credits
elliott-beach
References
groups.google.com/...y-announce/c/rLopt2Msvbw/m/rK6XeNw2CgAJ
github.com/kubernetes/kubernetes/issues/134063