CVEfocus › CVE database › CVE-2021-32001

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

CVSS 6.5 MediumEPSS 0.3% (higher than 23% of CVEs)Published 2021-07-28Updated 2024-09-16Assigner: suse

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.

CWE-311

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

10Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Alpine Linux 3.24k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.23k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.22k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.21k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.20k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.19k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.18k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.17k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.16k3sFixed1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine Linux 3.15k3sFixed1.21.3.1-r0ALPINE-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.

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.