GHSA-rfx7-8w68-q57q
etcd: Nested etcd transactions bypass RBAC authorization checks
Quick fix
GHSA-rfx7-8w68-q57q — go.etcd.io/etcd/v3: upgrade to the fixed version with the command below.
go get go.etcd.io/etcd/v3@v3.6.9Details
### Impact _What kind of vulnerability is it? Who is impacted?_
An authenticated user with RBAC restricted permissions on key ranges can use nested transactions to bypass all key-level authorization. This allows any authenticated user with direct access to etcd to effectively ignore all key range restrictions, accessing the entire etcd data store. 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.
### Patches _Has the problem been patched? What versions should users upgrade to?_
This vulnerability is patched in the following versions:
* etcd 3.6.9 * etcd 3.5.28 * etcd 3.4.42
### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_
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 * require strong client identity at the transport layer, such as mTLS with tightly scoped client certificate distribution
### Reporters _Our community helps keep etcd secure_
SIG-Etcd thanks community members Luke Francis and Battulga Byambaa for reporting this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
3.5.0-alpha.0Fixed in: 3.5.28go get go.etcd.io/etcd/v3@v3.5.280No fixed version published yet for go.etcd.io/etcd (go modules). Pin to a known-safe version or switch to an alternative.