@samanhappy/mcphub@0.12.7

A hub server for mcp servers

  • latest version

    0.12.16

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @samanhappy/mcphub 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
    Directory Traversal

    @samanhappy/mcphub is an A hub server for mcp servers

    Affected versions of this package are vulnerable to Directory Traversal in the uploadMcpbFile process when the name field from the uploaded manifest.json is concatenated directly into file system paths without sanitization or validation. An attacker can write files to arbitrary locations on the server's file system by uploading a crafted archive with path traversal sequences in the manifest.name field.

    How to fix Directory Traversal?

    Upgrade @samanhappy/mcphub to version 0.12.13 or higher.

    <0.12.13
    • M
    Command Injection

    @samanhappy/mcphub is an A hub server for mcp servers

    Affected versions of this package are vulnerable to Command Injection via the serverController.ts. A user can execute arbitrary operating system commands by supplying crafted input to the command or args parameters.

    How to fix Command Injection?

    Upgrade @samanhappy/mcphub to version 0.12.12 or higher.

    <0.12.12