All reports
Low

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

Affected versions

Version ranges need review.

Affected versions
*
Fixed version
Not reported
Affected versions
>= 3.4.0-rc.0, <= 3.4.9
Fixed version
3.4.10
Affected versions
< 3.3.23
Fixed version
3.3.23
Affected versions
*
Fixed version
Not reported

Description

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:

Links