mcp-server-kubernetes@3.4.0

MCP server for interacting with Kubernetes clusters via kubectl

  • latest version

    3.5.0

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    11 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the mcp-server-kubernetes package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Arbitrary Argument Injection

    mcp-server-kubernetes is a MCP server for interacting with Kubernetes clusters via kubectl

    Affected versions of this package are vulnerable to Arbitrary Argument Injection through the startPortForward function in src/tools/port_forward.ts. An attacker can inject additional kubectl flags by supplying crafted namespace, resourceType, or resourceName values when starting a port-forward, causing the tool to run kubectl with attacker-controlled arguments. This can redirect the port-forward to unintended resources or alter kubectl behavior, leading to unauthorized access to cluster resources and disruption of the user’s port-forward session.

    How to fix Arbitrary Argument Injection?

    Upgrade mcp-server-kubernetes to version 3.5.0 or higher.

    >=1.0.0 <3.5.0