VDB
EN
HIGH

GHSA-xg4h-6gfc-h4m8

etcd: Watch API authorization bypass via open-ended range requests

빠른 조치

GHSA-xg4h-6gfc-h4m8 — go.etcd.io/etcd/v3: 아래 명령으로 수정 버전으로 올리세요.

go get go.etcd.io/etcd/v3@v3.7.1

상세

### Impact _What kind of vulnerability is it? Who is impacted?_

A user granted READ permission on a single, exact key can use the Watch gRPC API with `clientv3.WithFromKey()` (an open-ended, "from this key to the end of the keyspace" watch) to receive watch events for every key lexicographically greater than or equal to their permitted key — not just the one key they were granted.

This is an authorization bypass in etcd's RBAC enforcement for the Watch API; Range/Get and DeleteRange requests are not affected. It only affects clusters with authentication enabled — clusters running without auth already allow unrestricted read access.

### Patches _Has the problem been patched? What versions should users upgrade to?_

This vulnerability is patched in the following versions:

- etcd 3.7.1 - etcd 3.6.14 - etcd 3.5.33

### Workarounds _Is there a way for users to fix or remediate the vulnerability without upgrading?_

If upgrading is not immediately possible, the following mitigations reduce exposure:

- Audit READ grants. Any READ grant — even on one key — can be leveraged via Watch to read everything after it. Review who holds READ permissions and revoke/tighten any you wouldn't trust with full read access. - Restrict network access. Limit which hosts can reach etcd's client (gRPC) port via firewall rules or network policy, reducing who can attempt exploitation.

### Reporter

- Luis Toro ([@lobuhi](https://github.com/lobuhi) on Github) - Anthropic and Adam Korczynski ([@AdamKorcz](https://github.com/AdamKorcz) on Github)

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

Go / go.etcd.io/etcd/v3
최초 영향 버전: 3.7.0-alpha.0 수정 버전: 3.7.1
수정 go get go.etcd.io/etcd/v3@v3.7.1
Go / go.etcd.io/etcd/v3
최초 영향 버전: 3.6.0 수정 버전: 3.6.14
수정 go get go.etcd.io/etcd/v3@v3.6.14
Go / go.etcd.io/etcd/v3
최초 영향 버전: 0 수정 버전: 3.5.33
수정 go get go.etcd.io/etcd/v3@v3.5.33

참고