CVE-2022-21951 Rancher: Weave CNI password is not set if RKE template is used with CNI value overridden
Attackers can intercept and modify network traffic in Rancher clusters created with specific RKE template overrides due to missing encryption.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-21951?
CVE-2022-21951 is a medium-severity vulnerability in SUSE Rancher, published on 25 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Cleartext Transmission of Sensitive Information vulnerability in SUSE Rancher, Rancher allows attackers on the network to read and change network data due to missing encryption of data transmitted via the network when a cluster is created from an RKE template with the CNI value overridden This issue affects: SUSE Rancher Rancher versions prior to 2.5.14; Rancher versions prior to 2.6.5.
Weakness: CWE-319
Which versions are affected by CVE-2022-21951?
4 open source packages ship an affected version, including github.com/rancher/rancher. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rancher/rancher Go | From 2.5.0 | 2.5.14 |
github.com/rancher/rancher Go | From 2.5.0 | 2.5.14 |
github.com/rancher/rancher Go | From 2.6.0 | 2.6.5 |
github.com/rancher/rancher Go | From 2.6.0 | 2.6.5 |
Products include Suse Rancher.
How do I fix CVE-2022-21951?
Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.5.14 or 2.6.5.
Is CVE-2022-21951 being exploited?
There is no known exploitation of CVE-2022-21951 in the wild and no public exploit code.
Other vulnerabilities in SUSE Rancher
- CVE-2023-22647 Rancher vulnerable to Privilege Escalation via manipulation of Secrets
- CVE-2023-22651 Rancher Webhook is misconfigured during upgrade process
- CVE-2022-43757 Rancher: Exposure of sensitive fields
- CVE-2021-36782 Rancher: Plaintext storage and exposure of credentials in Rancher API and cluster.management.cattle.io object
- CVE-2021-36783 Rancher: Failure to properly sanitize credentials in cluster template answers
Sources
Also known as GHSA-vrph-m5jj-c46c.