VDB
Sign up
LOW

GHSA-9gp7-6833-wv89

etcd having a negative value for cluster node size results in an index out-of-bound panic during service discovery

Quick fix

GHSA-9gp7-6833-wv89 — go.etcd.io/etcd/client/v3: upgrade to the fixed version with the command below.

go get go.etcd.io/etcd/client/v3@v3.4.10

Details

### Vulnerability type Data Validation

### Detail When an etcd instance attempts to perform service discovery, if a cluster size is provided as a negative value, the etcd instance will panic without recovery.

### References Find out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)

### For more information If you have any questions or comments about this advisory: * Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/go.etcd.io/etcd/client/v3
Introduced in: 3.4.0Fixed in: 3.4.10
Fixgo get go.etcd.io/etcd/client/v3@v3.4.10
Go/go.etcd.io/etcd/client/v3
Introduced in: 0Fixed in: 3.3.23
Fixgo get go.etcd.io/etcd/client/v3@v3.3.23

References