CVE-2020-15106
MEDIUM 6.5CVSS 3.1etcd's WAL `ReadAll` method vulnerable to an entry with large index causing panic
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.
- Published
- 5 Aug 2020
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-129CWE-20
- Also known as
- BIT-etcd-2020-15106BIT-etcd-2020-15112CVE-2020-15112GHSA-m332-53r6-2w93GHSA-p4g4-wgrh-qrg2GO-2020-0005
- Sources
- NVDJSONOSV GHSA-m332-53r6-2w93JSONOSV GHSA-p4g4-wgrh-qrg2JSONOSV GO-2020-0005JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | etcd | etcdcpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:* |
< 3.3.23 | 3.3.23 |
| NVD | etcd | etcdcpe:2.3:a:etcd:etcd:*:*:*:*:*:*:*:* |
>= 3.4.0, < 3.4.10 | 3.4.10 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* |
= 32 | |
| OSV | Go | go.etcd.io/etcd/v3 | < 3.3.23 | 3.3.23 |
| OSV | Go | go.etcd.io/etcd/v3 | >= 3.4.0, < 3.4.10 | 3.4.10 |
| OSV | Go | go.etcd.io/etcd | < 0.5.0-alpha.5.0.20200423152442-f4b650b51dc4 | 0.5.0-alpha.5.0.20200423152442-f4b650b51dc4 |
References
- https://github.com/etcd-io/etcd/security/advisories/GHSA-p4g4-wgrh-qrg2 · Third Party Advisory, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP/
- https://github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15112 · ADVISORY
- https://github.com/etcd-io/etcd/pull/11793 · WEB, FIX
- https://github.com/etcd-io/etcd/commit/7d1cf640497cbcdfb932e619b13624112c7e3865 · WEB
- https://github.com/etcd-io/etcd/commit/f4b650b51dc4a53a8700700dc12e1242ac56ba07 · WEB, FIX
- https://github.com/etcd-io/etcd · PACKAGE
- https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP · WEB
- https://pkg.go.dev/vuln/GO-2020-0005 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15106 · ADVISORY
- https://github.com/etcd-io/etcd/commit/4571e528f49625d3de3170f219a45c3b3d38c675 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 5 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 7 Feb 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Oct 2022)