Vulnerability · Published Dec 17, 2024 · Assigned by redhat

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

High 7.5

In plain English

A high-severity security flaw in open-cluster-management-io. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 61.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Goopen-cluster-management.io/ocm0.13.0GHSA-jhh6-6fhp-q2xp
Goopen-cluster-management.io/ocm0.13.0GO-2024-3343

Affected products (as reported)

VendorProductVersions
open-cluster-management-io 0.12.0
Red Hat Red Hat Advanced Cluster Management for Kubernetes 2 see references

Weakness: CWE-266 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N

References