Security mailing lists by PureSourceCode

GO-2024-2529

LOW

Etcd embed auto compaction retention negative value causing a compaction loop or a crash

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:

Published
3 Feb 2024
Last modified
10 Sep 2026
Also known as
GHSA-pm3m-32r3-7mfh
Sources
OSV GHSA-pm3m-32r3-7mfhJSONOSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go go.etcd.io/etcd/v3 >= 3.4.0-rc.0, < 3.4.10 3.4.10
OSV Go go.etcd.io/etcd/v3 < 3.3.23 3.3.23
OSV Go go.etcd.io/etcd all versions
OSV Go go.etcd.io/etcd/v3 all versions

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 28 Jun 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.