# GHSA-9gp7-6833-wv89: etcd having a negative value for cluster node size results in an index out-of-bound panic during service discovery

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-10-06T23:18:35.000Z
- Modified: 2022-10-06T23:18:35.000Z

## Description

### 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)

(As written by GitHub Advisory Database.)

## Affected

- go.etcd.io/etcd/client/v3 (Go): from 3.4.0 before 3.4.10; before 3.3.23

## References

- <https://github.com/etcd-io/etcd/security/advisories/GHSA-9gp7-6833-wv89> (web)
- <https://github.com/etcd-io/etcd> (package)

## Sources

- GitHub Advisory Database: [GHSA-9gp7-6833-wv89](https://github.com/advisories/GHSA-9gp7-6833-wv89), CC-BY-4.0, modified 2022-10-06

---

Page: https://cve.day/GHSA-9gp7-6833-wv89 · Whole record: https://cve.day/GHSA-9gp7-6833-wv89.json · Rebuilt by cve.day 2026-11-25T22:56:21.106Z
