{"id":"GHSA-pm3m-32r3-7mfh","aliases":["GHSA-pm3m-32r3-7mfh","GO-2024-2529"],"related":["CGA-p2x7-gc5w-84hm"],"kind":"vulnerability","state":"published","title":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash","summary":"### 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)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash in go.etcd.io/etcd","format":"markdown","source":"go"}],"published":"2024-02-03T00:03:07.000Z","modified":"2026-09-10T03:50:06.341Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"3.4.0-rc.0","status":"affected","fixed":"3.4.10"}],"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.3.23"}],"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"go.etcd.io/etcd","purl":"pkg:golang/go.etcd.io/etcd","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"go.etcd.io/etcd/v3","purl":"pkg:golang/go.etcd.io/etcd/v3","source":"go"}],"references":[{"url":"https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh","tags":["advisory","web"],"sources":["ghsa","go"]},{"url":"https://github.com/etcd-io/etcd","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pm3m-32r3-7mfh","url":"https://github.com/advisories/GHSA-pm3m-32r3-7mfh","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:06.341Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2529","url":"https://pkg.go.dev/vuln/GO-2024-2529","licence":"CC-BY-4.0","modified":"2026-02-04T04:00:13.353Z"}],"updatedAt":"2026-11-25T22:56:23.638Z"}