CVE-2024-22032 Rancher's RKE1 Encryption Config kept in plain-text within cluster AppliedSpec
Attackers with cluster access can view plaintext Kubernetes API secret values due to improper handling of encryption configuration during reconciliation.
- 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-2024-22032?
CVE-2024-22032 is a high-severity vulnerability in SUSE rancher, published on 16 Oct 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability has been identified in which an RKE1 cluster keeps constantly reconciling when secrets encryption configuration is enabled. When reconciling, the Kube API secret values are written in plaintext on the AppliedSpec. Cluster owners, Cluster members, and Project members (for projects within the cluster), all have RBAC permissions to view the cluster object from the apiserver.
Weakness: CWE-200
Which versions are affected by CVE-2024-22032?
5 open source packages ship an affected version, including github.com/rancher/rancher.
| Package | Affected | Fixed in |
|---|---|---|
github.com/rancher/rancher Go | All versions | None |
github.com/rancher/rancher Go | From 2.7.0 | 2.7.14 |
github.com/rancher/rancher Go | From 2.7.0 | 2.7.14 |
github.com/rancher/rancher Go | From 2.8.0 | 2.8.5 |
github.com/rancher/rancher Go | From 2.8.0 | 2.8.5 |
How do I fix CVE-2024-22032?
Upgrade github.com/rancher/rancher to a fixed version for your release line: 2.7.14 or 2.8.5.
Is CVE-2024-22032 being exploited?
There is no known exploitation of CVE-2024-22032 in the wild and no public exploit code.
Sources
Also known as GHSA-q6c7-56cq-g2wm, GO-2024-2932.