Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/rancher/rancher
  4. ›
  5. CVE-2022-21951

CVE-2022-21951: Rancher's weave CNI password is not configured when a cluster is created from an RKE template

March 3, 2026

This vulnerability only affects customers using Weave CNI (Container Network Interface) when configured through RKE templates.

A flaw was discovered in Rancher versions from 2.5.0 up to and including 2.5.13 and from 2.6.0 up to and including 2.6.4, where a UI (user interface) issue with RKE templates does not include a value for the Weave password when Weave is chosen as the CNI.

If a cluster is created based on the mentioned template and Weave is configured as the CNI, no password will be created for network encryption in Weave, therefore network traffic in the cluster will be sent unencrypted.

This issue does not happen when a cluster, with Weave configured as CNI, is created without using an RKE template.

The impact of this vulnerability is higher when nodes on the cluster are on different locations and communicate with one another through the Internet, where monitoring (sniffing) of the network traffic by third-party entities can be more easily achieved.

References

  • bugzilla.suse.com/show_bug.cgi?id=1199443
  • github.com/advisories/GHSA-vrph-m5jj-c46c
  • github.com/rancher/rancher
  • github.com/rancher/rancher/security/advisories/GHSA-vrph-m5jj-c46c
  • nvd.nist.gov/vuln/detail/CVE-2022-21951

Code Behaviors & Features

Detect and mitigate CVE-2022-21951 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0 before 2.5.14, all versions starting from 2.6.0 before 2.6.5

Fixed versions

  • 2.6.5
  • 2.5.14

Solution

Upgrade to versions 2.5.14, 2.6.5 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-311: Missing Encryption of Sensitive Data
  • CWE-319: Cleartext Transmission of Sensitive Information

Source file

go/github.com/rancher/rancher/CVE-2022-21951.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 12 May 2026 12:25:32 +0000.