GHSA-m332-53r6-2w93

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

At a glance

Published
Updated
CVE
CVE-2020-15106, CVE-2020-15112
Aliases
BIT-etcd-2020-15106, BIT-etcd-2020-15112, GHSA-p4g4-wgrh-qrg2, GO-2020-0005
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

### 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](https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf) ### For more information If you have any questions or comments about this advisory: * Contact the [etcd security committee](https://github.com/etcd-io/etcd/blob/master/security/security-release-process.md)

Affected packages

PackageVersions
Go · go.etcd.io/etcd/v3introduced 0, fixed 3.3.23
Go · go.etcd.io/etcd/v3introduced 3.4.0, fixed 3.4.10

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database