CVE-2021-32001
K3s/RKE2 bootstrap data is encrypted with empty string if user does not supply a token
Reported by suse · Published July 28, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| k3s | Alpine | 1.21.3.1-r0 |
| Rancher | SUSE | v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1, v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SUSE | Rancher | K3s |
| SUSE | Rancher | RKE2 |
| SUSE | Rancher | *, * |
| alpine | k3s | 0 |
Timeline
- Jul 28, 2021 CVE Published
- Jul 29, 2021 EPSS Score (30 in total, the first dated here)
- Sep 16, 2024 CVE Updated
- Aug 1, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-32001
vulnetix vdb fixes CVE-2021-32001
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32001/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart