PT-2020-14189 · Etcd+4 · Etcd+4

Spzala

·

Published

2020-08-05

·

Updated

2025-01-07

·

CVE-2020-15106

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 a lack of validation on the size of a record stored in the length field of a WAL file. This allows for the creation of a forged, extremely large frame size that can cause a panic in the decodeRecord method when any RAFT participant tries to decode the WAL. Malformed WALs can also cause attempted out of bounds reads or creation of arbitrarily sized slices, potentially used as a Denial of Service (DoS) vector. The problem arises in the ReadAll method, where an entry index can be greater than the number of entries, leading to issues when reading WAL entries during consensus.
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 file to minimize the risk of exploitation. Avoid using the decodeRecord method until the issue is resolved.

Exploit

Fix

DoS

RCE

Improper Validation of Array Index

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

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

Affected Products

Alt Linux
Linuxmint
Suse
Ubuntu
Etcd