Improper Input Validation in etcd
etcd-io etcd
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| go.etcd.io/etcd/v3 Go |
|
|
| go.etcd.io/etcd Go |
|
|
etcd-io etcd
| Product | Affected | Fixed in |
|---|---|---|
| go.etcd.io/etcd/v3 Go |
|
|
| go.etcd.io/etcd Go |
|
|
In etcd before versions 3.3.23 and 3.4.10, it is possible to have an entry index greater then the number of entries in the ReadAll method in wal/wal.go. 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.
From the CVE record · GitHub_M
In affected etcd versions, the ReadAll method in wal/wal.go can encounter an entry index greater than the number of entries. When WAL entries are read during consensus, this can trigger a runtime panic and bring down an arbitrary etcd consensus participant. The input does not specify what access is needed to trigger the condition.
Engineers running etcd before 3.3.23 or 3.4.10, or using affected go.etcd.io/etcd/v3 or go.etcd.io/etcd package versions, should check their deployments.