etcd: Authorization bypasses in multiple APIs
etcd-io etcd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| go.etcd.io/etcd/v3 Go |
|
|
| go.etcd.io/etcd Go |
etcd-io etcd
| Product | Affected | Fixed in |
|---|---|---|
| go.etcd.io/etcd/v3 Go |
|
|
| go.etcd.io/etcd Go |
≤ 3.3.27all versions| No fix yet |
etcd is a distributed key-value store for the data of a distributed system. Prior to versions 3.4.42, 3.5.28, and 3.6.9, unauthorized users may bypass authentication or authorization checks and call certain etcd functions in clusters that expose the gRPC API to untrusted or partially trusted clients. In unpatched etcd clusters with etcd auth enabled, unauthorized users are able to call MemberList and learn cluster topology, including member IDs and advertised endpoints; call Alarm, which can be abused for operational disruption or denial of service; use Lease APIs, interfering with TTL-based keys and lease ownership; and/or trigger compaction, permanently removing historical revisions and disrupting watch, audit, and recovery workflows. Kubernetes does not rely on etcd’s built-in authentication and authorization. Instead, the API server handles authentication and authorization itself, so typical Kubernetes deployments are not affected. Versions 3.4.42, 3.5.28, and 3.6.9 contain a patch. If upgrading is not immediately possible, reduce exposure by treating the affected RPCs as unauthenticated in practice. Restrict network access to etcd server ports so only trusted components can connect and/or require strong client identity at the transport layer, such as mTLS with tightly scoped client certificate distribution.
From the CVE record · GitHub_M
In affected etcd clusters with built-in authentication enabled, some gRPC API functions lack effective authentication or authorization checks. Unauthorized clients that can reach the API can learn cluster topology, disrupt operations, interfere with leases, or remove historical revisions through compaction. Typical Kubernetes deployments are not affected because the API server handles authentication and authorization instead of etcd.
Check etcd clusters using go.etcd.io/etcd/v3 before 3.4.42, from 3.5.0-alpha.0 to before 3.5.28, or from 3.6.0-alpha.0 to before 3.6.9, as well as users of go.etcd.io/etcd, for which no fixed version is listed.