Skip to content
OpenAdvisories
Medium · 6.5 CVE-2021-32001 EUVD-2021-18871

K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token

Published Jul 28, 2021 · Updated Sep 16, 2024 · Assigned by suse

Description

K3s in SUSE Rancher allows any user with direct access to the datastore, or a copy of a datastore backup, to extract the cluster's confidential keying material (cluster certificate authority private keys, secrets encryption configuration passphrase, etc.) and decrypt it, without having to know the token value. This issue affects: SUSE Rancher K3s version v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 and prior versions; RKE2 version v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 and prior versions.

Affected products

VendorProductAffectedFixed
SUSE Rancher K3s – ≤ v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1, RKE2 – ≤ v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 k3s 1.21.3.1-r0 —
Alpine v3.23 k3s 1.21.3.1-r0 —
Alpine v3.22 k3s 1.21.3.1-r0 —
Alpine v3.21 k3s 1.21.3.1-r0 —
Alpine v3.20 k3s 1.21.3.1-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 k3s 1.21.3.1-r0 —
Alpine v3.18 k3s 1.21.3.1-r0 —
Alpine v3.17 k3s 1.21.3.1-r0 —
Alpine v3.16 k3s 1.21.3.1-r0 —
Alpine v3.15 k3s 1.21.3.1-r0 —

References