Advisory

GHSA-m332-53r6-2w93

Also known as: BIT-etcd-2020-15106, BIT-etcd-2020-15112, CVE-2020-15106, CVE-2020-15112, GHSA-p4g4-wgrh-qrg2, GO-2020-0005

Summary

etcd's WAL ReadAll method vulnerable to an entry with large index causing panic

Details

Vulnerability type
Data Validation

Detail
In the ReadAll method in wal/wal.go, it is possible to have an entry index greater then the number of entries. This could cause issues when WAL entries are being read during consensus as an arbitrary etcd consensus participant could go down from a runtime panic when reading the entry.

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-10-06 23:03 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 0, fixed 3.3.23 (semver)

Fixed versions

3.3.23

Fix

go.etcd.io/etcd/v3

Go · All systems

Affected

  • introduced 3.4.0, fixed 3.4.10 (semver)

Fixed versions

3.4.10

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