CVE-2024-9779: Open cluster management.io/ocm Open Cluster Management Vulnerable To Vulnerability

HIGH
Advisory Identifier: GHSA-jhh6-6fhp-q2xp
CVSS 7.5
CWE-266 CWE-501
Published
Advisory Summary

CVE-2024-9779 is a HIGH (CVSS 7.5) open cluster management vulnerable to vulnerability (CWE-266: Incorrect Privilege Assignment) affecting Open cluster management.io/ocm libraries in the Go ecosystem. The issue involves open cluster management vulnerable to trust boundary violation. Remediation is available by upgrading affected packages to version 0.13.0.

CVE-2024-9779 at a Glance

CVE Identifier CVE-2024-9779
GHSA Identifier GHSA-jhh6-6fhp-q2xp
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-266: Incorrect Privilege Assignment
Affected Product Open cluster management.io/ocm
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2024-9779

To remediate this vulnerability, upgrade all affected Open cluster management.io/ocm dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

open-cluster-management.io/ocm fixed: 0.13.0
Upgrade open-cluster-management.io/ocm to 0.13.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for open-cluster-management.io/ocm

How to Check if You Are Affected

To determine whether your application is affected by CVE-2024-9779, inspect your project dependencies for Open cluster management.io/ocm:

inspect dependencies for open-cluster-management.io/ocm

Analyze the terminal output to locate any version of Open cluster management.io/ocm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-266: Incorrect Privilege Assignment, where a product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor. In Open cluster management.io/ocm, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2024-9779 Affected Open cluster management.io/ocm Versions

1 component(s)
Fixed Versions:
0.13.0
Product / Package Ecosystem Affected Versions Fixed Version
open-cluster-management.io/ocm
Go
< 0.13.0
0.13.0

References

Frequently Asked Questions

What is CVE-2024-9779?
CVE-2024-9779 is a security vulnerability in Open cluster management.io/ocm involving Open Cluster Management vulnerable to Trust Boundary Violation under CWE-266: Incorrect Privilege Assignment.
Which Open cluster management.io/ocm versions are affected?
Affected versions include releases prior to 0.13.0 across affected packages: open-cluster-management.io/ocm.
What version fixes CVE-2024-9779?
Upgrading to 0.13.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is open-cluster-management.io/ocm affected?
Yes, open-cluster-management.io/ocm is affected in releases prior to 0.13.0. Upgrade your dependency to 0.13.0 or later.
What is the CVSS score of CVE-2024-9779?
CVE-2024-9779 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N.
What CWE is associated with CVE-2024-9779?
CVE-2024-9779 is classified under CWE-266: Incorrect Privilege Assignment (A product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.).
How can I check Go dependencies for CVE-2024-9779?
Run the dependency tree command: 'inspect dependencies for open-cluster-management.io/ocm'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jhh6-6fhp-q2xp",
  "modified" : "2024-12-18T15:43:48Z",
  "published" : "2024-12-18T00:31:23Z",
  "aliases" : [ "CVE-2024-9779" ],
  "summary" : "Open Cluster Management vulnerable to Trust Boundary Violation",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "open-cluster-management.io/ocm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.13.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9779"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-cluster-management-io/registration-operator/issues/361"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-cluster-management-io/ocm/pull/325"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-9779"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2317916"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/open-cluster-management-io/OCM"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/open-cluster-management-io/ocm/releases/tag/v0.13.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-266", "CWE-501" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-12-18T15:43:48Z",
    "nvd_published_at" : "2024-12-17T23:15:05Z"
  }
}