GHSA-pm3m-32r3-7mfh Etcd embed auto compaction retention negative value causing a compaction loop or a crash
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
Description
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
Upgrade path
1 package: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| go.etcd.io/etcd(Go) | < 3.3.23; >= 3.4.0-rc.0, < 3.4.10; >= 3.4.0-rc.0, <= 3.4.9; All versions | 3.3.23, 3.4.10 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go.etcd.io/etcd(Go) | >= 3.4.0-rc.0, < 3.4.10 | 3.4.10 |
| go.etcd.io/etcd(Go) | < 3.3.23 | 3.3.23 |
| go.etcd.io/etcd(Go) | All versions | No fix listed |
| go.etcd.io/etcd(Go) | >= 3.4.0-rc.0, <= 3.4.9 | No fix listed |
References
- github.com vendor-advisory
- github.com product
- github.com