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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | open-cluster-management.io/ocm | 0.13.0 | GHSA-jhh6-6fhp-q2xp |
| Go | open-cluster-management.io/ocm | 0.13.0 | GO-2024-3343 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://access.redhat.com/security/cve/CVE-2024-9779 vdb-entry, x_refsource_REDHAT
- RHBZ#2317916 issue-tracking, x_refsource_REDHAT
- https://github.com/open-cluster-management-io/ocm/pull/325
- https://github.com/open-cluster-management-io/ocm/releases/tag/v0.13.0
- https://github.com/open-cluster-management-io/registration-operator/issues/361