{"id":"GHSA-pm3m-32r3-7mfh","summary":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash","details":"### Impact\nData Validation\n\n### Detail\nThe 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.\n\n### References\nFind out more on this vulnerability in the [security audit report](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md#product-security-committee-psc)","aliases":["GO-2024-2529"],"modified":"2026-09-10T03:50:06.341542957Z","published":"2024-02-03T00:03:07Z","database_specific":{"github_reviewed_at":"2024-02-03T00:03:07Z","nvd_published_at":null,"cwe_ids":[],"severity":"LOW","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh"},{"type":"PACKAGE","url":"https://github.com/etcd-io/etcd"}],"affected":[{"package":{"name":"go.etcd.io/etcd/v3","ecosystem":"Go","purl":"pkg:golang/go.etcd.io/etcd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.4.0-rc.0"},{"fixed":"3.4.10"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 3.4.9","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-pm3m-32r3-7mfh/GHSA-pm3m-32r3-7mfh.json"}},{"package":{"name":"go.etcd.io/etcd/v3","ecosystem":"Go","purl":"pkg:golang/go.etcd.io/etcd/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.23"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-pm3m-32r3-7mfh/GHSA-pm3m-32r3-7mfh.json"}}],"schema_version":"1.9.0"}