{"id":"GHSA-pm3m-32r3-7mfh","revision":"edd1936b80b84e239a679e15e82438fa","records":[{"revision":"edd1936b80b84e239a679e15e82438fa","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-pm3m-32r3-7mfh","aliases":["GO-2024-2529"],"title":"Etcd embed auto compaction retention negative value causing a compaction loop or a crash","description":"### 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)","state":0,"publishedAt":"2024-02-03T00:03:07+00:00","modifiedAt":"2026-09-10T03:50:06.341543+00:00","affected":[{"ecosystem":"Go","name":"go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.4.0-rc.0"},{"kind":"fixed","version":"3.4.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"go.etcd.io/etcd/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.3.23"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh","https://github.com/etcd-io/etcd"],"sourceUrl":"https://github.com/advisories/GHSA-pm3m-32r3-7mfh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pm3m-32r3-7mfh","identifiers":["GHSA-pm3m-32r3-7mfh","GO-2024-2529"]},"retained":false,"historicalAffected":[]}],"coverage":[]}