Description
maclof kubernetes-client 0.17.0 before 0.32.0 disables TLS certificate verification in parseKubeconfig() and parseKubeconfigFile() when a kubeconfig lacks certificate-authority-data, ignoring insecure-skip-tls-verify. On-path attackers can impersonate the Kubernetes API server to capture Bearer tokens or Basic credentials and tamper with WebSocket or REST API traffic.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| maclof | kubernetes-client | 0.17.0 – < 0.32.0 | 0.32.0 |
References
- GitHub Issue #135 issue-tracking
- https://github.com/maclof/kubernetes-client product
- https://github.com/maclof/kubernetes-client/commit/924c0b935fa538ed6b4b0948127609e99d0e6f34 patch
- kubernetes-client 0.32.0 Release Notes release-notes
- https://github.com/maclof/kubernetes-client/blob/0.31.0/src/Client.php#L309-L312 technical-description
- VulnCheck Advisory: maclof kubernetes-client 0.17.0 before 0.32.0 Disabled TLS Certificate Verification third-party-advisory