GHSA-6vch-q96h-7gc3
etcd: `tlsListener.acceptLoop` spawns unbounded handshake goroutines with no deadline
빠른 조치
GHSA-6vch-q96h-7gc3 — 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 network attacker who can reach an etcd TLS listener can open many TCP connections and never send a ClientHello. Each connection spawns a goroutine in the etcd server process that blocks indefinitely inside tls.Conn.Handshake(), and each is tracked in the pending map. Unbounded goroutine and map growth exhausts memory in the etcd process, causing loss of availability for the etcd cluster (and, when etcd backs Kubernetes, the control plane).
### 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, then 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
VMware By Broadcom
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
참고
- https://github.com/etcd-io/etcd/security/advisories/GHSA-6vch-q96h-7gc3 [WEB]
- https://github.com/etcd-io/etcd/pull/22130 [WEB]
- https://github.com/etcd-io/etcd/commit/2e07efce9745004eb4773cffaada9b5cdf77cff2 [WEB]
- https://github.com/etcd-io/etcd/commit/f73cba7d920019f91a1ea1f6697833e42731f057 [WEB]
- https://github.com/etcd-io/etcd [PACKAGE]
- https://github.com/etcd-io/etcd/releases/tag/v3.5.33 [WEB]
- https://github.com/etcd-io/etcd/releases/tag/v3.6.14 [WEB]
- https://github.com/etcd-io/etcd/releases/tag/v3.7.1 [WEB]