PT-2020-14194 · Etcd+4 · Etcd+4

Spzala

·

Published

2020-08-05

·

Updated

2024-10-16

·

CVE-2020-15112

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions etcd versions 3.3.0 through 3.3.22 etcd versions 3.4.0 through 3.4.9
Description The issue is related to data validation in the ReadAll method in wal/wal.go, where it is possible to have an entry index greater than the number of entries. This could cause issues when WAL entries are being read during consensus, potentially leading to a runtime panic and causing an arbitrary etcd consensus participant to go down. Malformed WALs can be constructed to cause attempted out of bounds reads or creation of arbitrarily sized slices, which may be used as a denial-of-service vector.
Recommendations For etcd versions 3.3.0 through 3.3.22, update to version 3.3.23 or later. For etcd versions 3.4.0 through 3.4.9, update to version 3.4.10 or later. As a temporary workaround, consider restricting access to the wal/wal.go module to minimize the risk of exploitation. Avoid using the ReadAll method in the affected wal/wal.go file until the issue is resolved.

Exploit

Fix

DoS

Improper Validation of Array Index

RCE

Weakness Enumeration

Related Identifiers

ALT-PU-2020-2736
ALT-PU-2021-1544
ALT-PU-2022-1247
AZL-6389
BIT-ETCD-2020-15106
BIT-ETCD-2020-15112
CVE-2020-15112
GHSA-M332-53R6-2W93
GHSA-P4G4-WGRH-QRG2
GO-2020-0005
OPENSUSE-SU-2024_3656-1
RHSA-2021:0916
RHSA-2021:1407
SUSE-SU-2020:3760-1
SUSE-SU-2024:3656-1
USN-5628-1
USN-5628-2

Affected Products

Alt Linux
Linuxmint
Suse
Ubuntu
Etcd