CVE-2021-32001: K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token
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 Software
Event History
Frequently Asked Questions
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2021-32001.
What is the severity of CVE-2021-32001?
The severity of CVE-2021-32001 is medium.
Which software versions are affected by CVE-2021-32001?
CVE-2021-32001 affects SUSE Rancher K3s versions 1.19.12, 1.20.8, and 1.21.2, as well as Suse Rancher Rke2 versions 1.19.12, 1.20.8, and 1.21.2.
What can an attacker do with CVE-2021-32001?
An attacker with direct access to the datastore or a copy of a datastore backup can extract the cluster's confidential keying material and decrypt it, gaining access to cluster certificate authority private keys and secrets encryption configuration passphrase.
Is there a fix available for CVE-2021-32001?
Yes, it is recommended to update SUSE Rancher K3s and Suse Rancher Rke2 to the latest versions to fix CVE-2021-32001.