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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.3%top 76.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20k3s1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine:v3.21k3s1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine:v3.22k3s1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine:v3.23k3s1.21.3.1-r0ALPINE-CVE-2021-32001
Alpine:v3.24k3s1.21.3.1-r0ALPINE-CVE-2021-32001

Affected products (as reported)

VendorProductVersions
SUSE Rancher K3s – through v1.19.12+k3s1, v1.20.8+k3s1, v1.21.2+k3s1
SUSE Rancher RKE2 – through v1.19.12+rke2r1, v1.20.8+rke2r1, v1.21.2+rke2r1

Weakness: CWE-311 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

References