---
id: CVE-2020-15106
aliases:
  - GHSA-m332-53r6-2w93
  - BIT-etcd-2020-15106
  - BIT-etcd-2020-15112
  - CVE-2020-15112
  - GHSA-p4g4-wgrh-qrg2
  - GO-2020-0005
title: >-
  etcd's WAL `ReadAll`  method vulnerable to an entry with large index causing
  panic
summary: >-
  etcd's WAL `ReadAll`  method vulnerable to an entry with large index causing
  panic
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'
vendor: etcd
product: go.etcd.io/etcd/v3
ecosystem: go
affected:
  - go.etcd.io/etcd/v3 < 3.3.23
  - 'go.etcd.io/etcd/v3 >= 3.4.0, < 3.4.10'
patched:
  - go.etcd.io/etcd/v3 3.3.23
  - go.etcd.io/etcd/v3 3.4.10
published: '2022-10-06'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-m332-53r6-2w93'
references:
  - url: 'https://github.com/etcd-io/etcd/security/advisories/GHSA-m332-53r6-2w93'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2020-15112'
  - url: 'https://github.com/etcd-io/etcd/pull/11793'
  - url: >-
      https://github.com/etcd-io/etcd/commit/7d1cf640497cbcdfb932e619b13624112c7e3865
  - url: >-
      https://github.com/etcd-io/etcd/commit/f4b650b51dc4a53a8700700dc12e1242ac56ba07
  - url: 'https://github.com/etcd-io/etcd'
  - url: 'https://github.com/etcd-io/etcd/blob/master/security/SECURITY_AUDIT.pdf'
  - url: >-
      https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L6B6R43Y7M3DCHWK3L3UVGE2K6WWECMP
  - url: 'https://pkg.go.dev/vuln/GO-2020-0005'
tags:
  - osv
  - go
epss: 0.01291
epssPercentile: 0.69019
ingestedAt: '2026-07-09T18:56:36.599Z'
---

## Overview

### 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

- `go.etcd.io/etcd/v3 < 3.3.23`
- `go.etcd.io/etcd/v3 >= 3.4.0, < 3.4.10`

## Remediation

Upgrade to a patched release:

- `go.etcd.io/etcd/v3 3.3.23`
- `go.etcd.io/etcd/v3 3.4.10`
