Vulnerability · Published Jul 28, 2021 · Assigned by suse
CVE-2021-32001K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token
Medium 6.5
In plain English
A medium-severity security flaw in Rancher from SUSE. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 23% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | k3s | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine:v3.21 | k3s | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine:v3.22 | k3s | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine:v3.23 | k3s | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine:v3.24 | k3s | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
Affected products (as reported)
Weakness: CWE-311 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N