CVE-2021-32001

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

State
Published
Severity
6.5 Medium
Published
Jul 28, 2021
Updated
Sep 16, 2024
Reserved
May 3, 2021

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:Nsuse

Weaknesses

  • CWE-311 Missing Encryption of Sensitive Data

Affected Products

ProductVersions
RancherSUSE
  • K3s through v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1Affected
RancherSUSE
  • RKE2 through v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.