{"id":"GHSA-pm3m-32r3-7mfh","aliases":["GO-2024-2529"],"summary":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash","published_at":"2024-02-03T00:03:07Z","modified_at":"2026-09-10T03:50:06.341542Z","products":[{"slug":"etcd","name":"etcd","category":"kubernetes-container"}],"rating":{"severity":"unknown","attack_path":"unknown","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":3,"record_count":2,"vendors":["GitHub","Go"],"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)","affected_stack":[{"ecosystem":"Go","package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2529","relation":"self"},{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"3.4.0-rc.0"},{"fixed":"3.4.10"}]}],"fixed":["3.4.10"],"provider":"osv","source":"GHSA-pm3m-32r3-7mfh","relation":"self"},{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.23"}]}],"fixed":["3.3.23"],"provider":"osv","source":"GHSA-pm3m-32r3-7mfh","relation":"self"},{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2529","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"osv","source_id":"GHSA-pm3m-32r3-7mfh","relation":"self","url":"https://osv.dev/vulnerability/GHSA-pm3m-32r3-7mfh","license":"CC-BY-4.0","published_at":"2024-02-03T00:03:07Z","modified_at":"2026-09-10T03:50:06.341542Z","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)","severity":[],"affected":[{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"3.4.0-rc.0"},{"fixed":"3.4.10"}]}],"fixed":["3.4.10"],"provider":"osv","source":"GHSA-pm3m-32r3-7mfh","relation":"self"},{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.3.23"}]}],"fixed":["3.3.23"],"provider":"osv","source":"GHSA-pm3m-32r3-7mfh","relation":"self"}],"product_status":[],"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"}]},{"provider":"osv","source_id":"GO-2024-2529","relation":"self","url":"https://osv.dev/vulnerability/GO-2024-2529","license":"CC-BY-4.0","published_at":"2024-06-28T15:28:53Z","modified_at":"2026-02-04T04:00:13.353392Z","summary":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash in go.etcd.io/etcd","details":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash in go.etcd.io/etcd","severity":[],"affected":[{"ecosystem":"Go","package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2529","relation":"self"},{"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"provider":"osv","source":"GO-2024-2529","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh"}]}],"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"}],"sources":[{"provider":"osv","source_id":"GHSA-pm3m-32r3-7mfh","url":"https://osv.dev/vulnerability/GHSA-pm3m-32r3-7mfh","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:06.341542Z","relation":"self"},{"provider":"osv","source_id":"GO-2024-2529","url":"https://osv.dev/vulnerability/GO-2024-2529","license":"CC-BY-4.0","modified_at":"2026-02-04T04:00:13.353392Z","relation":"self"}]}
