← VULNERABILITIES

RUSTSEC-2026-0600

`openssl-tls` trusts OpenSSL's default CA store in addition to the configured cluster CA

UnscoredFix available
CVSS
—
EPSS
—
Published
2026-11-24
Age
5d old
Modified
2026-11-25
Product
crates.io kube-client
Aliases
GHSA-hm5x-4x3m-4w8m

Description

With the `openssl-tls` connector, configuring a cluster CA (`certificate-authority`, `certificate-authority-data`, or the in-cluster `ca.crt`) did not limit which server certificates were trusted. The connector started from OpenSSL's default verify paths and added the configured roots to that store, so a server certificate chaining to any root in OpenSSL's default store passed trust validation. The certificate still had to be valid for the server name the client connects to. client-go and the `rustls-tls` connector trust only the configured CA. An attacker on the path between the client and the apiserver who presents such a certificate, for example from a TLS inspection proxy whose root is installed on the machine, could complete the handshake and receive the client's requests, including bearer tokens. This advisory covers the `openssl-tls` connector, added in 0.64.0, when a cluster CA is configured. The connector is used by `Client::try_default()`, `Client::try_from(Config)` and `ClientBuilder::try_from(Config)` whenever they select OpenSSL, by the `ConfigExt::openssl_https_connector`, `openssl_https_connector_with_connector` and `openssl_ssl_connector_builder` methods even when `

Fixed in

4.2.1 · 5.2.0

Affected packages

EcosystemPackageRangeFixed
crates.iokube-client>=0.64.0, <4.2.14.2.1
crates.iokube-client>=5.0.0, <5.2.05.2.0

Sources

  • OSV · first seen 4d ago · CC-BY 4.0

References

JSON