etcd user credentials are stored in WAL logs in plaintext
Published 6 Oct 2022 · Updated 30 Mar 2023
Is your project on an affected go.etcd.io/etcd/client/v3?
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
go get go.etcd.io/etcd/client/v3@v3.4.10- Affected
- <3.3.23
- Fixed in
- 3.3.23
go get go.etcd.io/etcd/client/v3@v3.3.23Details
Vulnerability type
Data Exposure
Workarounds
The etcd assumes that the on disk files are secure. The possible fixes have been provided, however, it is the responsibility of the etcd users to make sure that the etcd server WAL log files are secure. The etcd doesn't encrypt key/value data stored on disk drives.
Detail
User credentials (login and password) are stored in WAL entries on each user authentication. If the WAL log files are not secure, it can potentially expose sensitive information.
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:
- Contact the etcd security committee
Is GHSA-528j-9r78-wffx 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
- MediumCVE-2020-15115etcd has no minimum password length · 6 Oct 2022
References
- Linkgithub.com/etcd-io/etcd/security/advisories/GHSA-528j-9r78-wffx
- Linkgithub.com/etcd-io/etcd/issues/10132
- Linkgithub.com/etcd-io/etcd/pull/11818
- Linkgithub.com/etcd-io/etcd/commit/585814082b8c8b7db272b30b365b81d27df4a4cb
- Packagegithub.com/etcd-io/etcd
- Linkgithub.com/etcd-io/etcd/blob/master/Documentation/op-guide/security.md#does-etcd-encrypt-data-stored-on-disk-drives
- Linkgithub.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.