CVE-2024-9779 Open-cluster-management-io/ocm: cluster-manager permissions may allow a worker node to obtain service account tokens

High 7.5 Published Updated

An attacker controlling a worker node can steal cluster-manager service account tokens to gain full cluster control.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-9779?

CVE-2024-9779 is a high-severity vulnerability in Red Hat Advanced Cluster Management for Kubernetes 2, published on 17 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A flaw was found in Open Cluster Management (OCM) when a user has access to the worker nodes which contain the cluster-manager or klusterlet deployments. The cluster-manager deployment uses a service account with the same name "cluster-manager" which is bound to a ClusterRole also named "cluster-manager", which includes the permission to create Pod resources. If this deployment runs a pod on an attacker-controlled node, the attacker can obtain the cluster-manager's token and steal any service account token by creating and mounting the target service account to control the whole cluster.

Weakness: CWE-266

Which versions are affected by CVE-2024-9779?

3 open source packages ship an affected version, including open-cluster-management.io/ocm.

PackageAffectedFixed in
open-cluster-management.io/ocm GoAll versions0.13.0
open-cluster-management.io/ocm GoAll versions0.13.0
open-cluster-management.io/ocm GoAll versions0.13.0

How do I fix CVE-2024-9779?

Upgrade open-cluster-management.io/ocm to 0.13.0 or later.

Is CVE-2024-9779 being exploited?

There is no known exploitation of CVE-2024-9779 in the wild and no public exploit code.

Sources

Also known as GHSA-jhh6-6fhp-q2xp, GO-2024-3343.

Is CVE-2024-9779 in your software?

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

Check your SBOMs for free