GitHub Advisoryadvisory · Go

GHSA-jhh6-6fhp-q2xp Open Cluster Management vulnerable to Trust Boundary Violation

HIGH Published 2024-12-18 Modified 2024-12-18 Official page ↗
Aliases
CVE-2024-9779
Ecosystem
Go
Packages
open-cluster-management.io/ocm
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N
Weaknesses
CWE-266, CWE-501
Reviewed
2024-12-18

Affected packages

• Go open-cluster-management.io/ocm: < 0.13.0 → fixed in 0.13.0

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.

Related

Alias · CVE (1)

  • CVE-2024-9779 A flaw was found in Open Cluster Management (OCM) when a user has access to the worker nodes which contain the cluster-manager or… vulnerability

Weakness · CWE (2)

  • CWE-266 Incorrect Privilege Assignment weakness
  • CWE-501 Trust Boundary Violation weakness

References