All vulnerabilities

Servers and applications

CVE-2020-15106

A large slice causes panic in decodeRecord method

Severity
Medium 6.5
Published
5 Aug 2020
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.3.23, 3.4.10
Also known as
GHSA-p4g4-wgrh-qrg2
Sources
NVD, Project advisories (GitHub)

Description

In etcd before versions 3.3.23 and 3.4.10, a large slice causes panic in decodeRecord method. The size of a record is stored in the length field of a WAL file and no additional validation is done on this data. Therefore, it is possible to forge an extremely large frame size that can unintentionally panic at the expense of any RAFT participant trying to decode the WAL.

Affected software

SoftwareAffected versions
etcdServers and applications · cpe:a:etcd:etcd
  • Every version before 3.3.23
  • From 3.4.0 before 3.4.10
etcdServers and applications · github:etcd-io/etcd
  • Every version before 3.3.23

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2020-15106
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2020-15106
  • GitHub Advisory Database https://github.com/advisories/GHSA-p4g4-wgrh-qrg2
  • github.com https://github.com/etcd-io/etcd/security/advisories/GHSA-p4g4-wgrh-qrg2