Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. go.etcd.io/etcd
  4. ›
  5. GMS-2024-67

GMS-2024-67: Etcd embed auto compaction retention negative value causing a compaction loop or a crash

February 3, 2024

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:

  • Contact the etcd security committee

References

  • github.com/advisories/GHSA-pm3m-32r3-7mfh
  • github.com/etcd-io/etcd/security/advisories/GHSA-pm3m-32r3-7mfh

Code Behaviors & Features

Detect and mitigate GMS-2024-67 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.23, all versions starting from 3.4.0-rc.0 up to 3.4.9

Fixed versions

  • 3.3.23
  • 3.4.10

Solution

Upgrade to versions 3.3.23, 3.4.10 or above.

Source file

go/go.etcd.io/etcd/GMS-2024-67.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:47 +0000.