Advisory

GHSA-pm3m-32r3-7mfh

Also known as: GO-2024-2529

Summary

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

Details

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:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2024-02-03 00:03 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 3.4.0-rc.0, fixed 3.4.10 (semver)

Fixed versions

3.4.10

Fix

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 0, fixed 3.3.23 (semver)

Fixed versions

3.3.23

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences