CVE-2024-22032 Rancher's RKE1 Encryption Config kept in plain-text within cluster AppliedSpec

High 7.1 Published Updated

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.

PackageAffectedFixed in
github.com/rancher/rancher GoAll versionsNone
github.com/rancher/rancher GoFrom 2.7.02.7.14
github.com/rancher/rancher GoFrom 2.7.02.7.14
github.com/rancher/rancher GoFrom 2.8.02.8.5
github.com/rancher/rancher GoFrom 2.8.02.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.

Is CVE-2024-22032 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free