Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. go.etcd.io/etcd/client/v3
  4. ›
  5. GMS-2022-5094

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

October 6, 2022

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

  • github.com/advisories/GHSA-9gp7-6833-wv89
  • github.com/etcd-io/etcd/security/advisories/GHSA-9gp7-6833-wv89

Code Behaviors & Features

Detect and mitigate GMS-2022-5094 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.3.23, all versions starting from 3.4.0 before 3.4.10

Fixed versions

  • 3.3.23
  • 3.4.10

Solution

Upgrade to versions 3.3.23, 3.4.10 or above.

Source file

go/go.etcd.io/etcd/client/v3/GMS-2022-5094.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:07 +0000.