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. Learn more about Dependency Scanning →

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 Wed, 14 May 2025 12:15:59 +0000.