GitHub Advisoryadvisory · Go

GHSA-m332-53r6-2w93 etcd's WAL `ReadAll` method vulnerable to an entry with large index causing panic

MEDIUM Published 2022-10-06 Modified 2022-10-06 Official page ↗
Aliases
CVE-2020-15112
Ecosystem
Go
Packages
go.etcd.io/etcd/v3
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-129, CWE-20
Reviewed
2022-10-06

Affected packages

• Go go.etcd.io/etcd/v3: < 3.3.23 → fixed in 3.3.23 • Go go.etcd.io/etcd/v3: >= 3.4.0, < 3.4.10 → fixed in 3.4.10

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 For more information If you have any questions or comments about this advisory: • Contact the etcd security committee

Related

Alias · CVE (1)

  • CVE-2020-15112 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… vulnerability

Weakness · CWE (2)

  • CWE-129 Improper Validation of Array Index weakness
  • CWE-20 Improper Input Validation weakness

References