GO-2024-2529
LOWEtcd embed auto compaction retention negative value causing a compaction loop or a crash
Impact
Data Validation
Detail
The parseCompactionRetention function in embed/etcd.go allows the retention variable value to be negative and causes the node to execute the history compaction in a loop, taking more CPU than usual and spamming logs.
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
- Published
- 3 Feb 2024
- Last modified
- 10 Sep 2026
- Also known as
- GHSA-pm3m-32r3-7mfh
- Sources
- OSV GHSA-pm3m-32r3-7mfhJSONOSVJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | go.etcd.io/etcd/v3 | >= 3.4.0-rc.0, < 3.4.10 | 3.4.10 |
| OSV | Go | go.etcd.io/etcd/v3 | < 3.3.23 | 3.3.23 |
| OSV | Go | go.etcd.io/etcd | all versions | |
| OSV | Go | go.etcd.io/etcd/v3 | all versions |
References
- https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh · WEB, ADVISORY
- https://github.com/etcd-io/etcd · PACKAGE
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Feb 2024)