CVE-2021-32001K3s/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.
What to do
Fixed builds are available from Alpine: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Alpine Linux 3.24 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.23 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.22 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.21 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.20 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.19 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.18 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.17 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.16 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
| Alpine Linux 3.15 | k3s | Fixed | 1.21.3.1-r0 | ALPINE-CVE-2021-32001 |
What the vendor says
As published in the CVE record by suse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- SUSE Rancher: affected: K3s to v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1
- SUSE Rancher: affected: RKE2 to v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.