MediumGHSA-4993-m7g5-r9hhCVE-2020-15115

etcd has no minimum password length

Published 6 Oct 2022 · Updated 10 Sept 2026

Is your project on an affected go.etcd.io/etcd/client/v3?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=3.4.0 <3.4.10
Fixed in
3.4.10
Update to the fixed version for your release line, for example:go get go.etcd.io/etcd/client/v3@v3.4.10
Affected
<3.3.23
Fixed in
3.3.23
Update to the fixed version for your release line, for example:go get go.etcd.io/etcd/client/v3@v3.3.23

Details

Vulnerability type

Access Control

Workarounds

The etcdctl and etcd API do not enforce a specific password length during user creation or user password update operations. It is the responsibility of the administrator to enforce these requirements.

Detail

etcd does not perform any password length validation, which allows for very short passwords, such as those with a length of one. This may allow an attacker to guess or brute-force users’ passwords with little computational effort.

References

Find out more on this vulnerability in the security audit report

For more information

If you have any questions or comments about this advisory:

Is GHSA-4993-m7g5-r9hh in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected go.etcd.io/etcd/client/v3, and gives you the command that fixes it.

More advisories for go.etcd.io/etcd/client/v3

  • LowGHSA-9gp7-6833-wv89etcd having a negative value for cluster node size results in an index out-of-bound panic during service discovery · 6 Oct 2022
  • LowGHSA-528j-9r78-wffxetcd user credentials are stored in WAL logs in plaintext · 6 Oct 2022
go.etcd.io/etcd/client/v3 security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.