@modelcontextprotocol/sdk@1.23.1 vulnerabilities

Model Context Protocol implementation for TypeScript

  • latest version

    1.24.3

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    3 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @modelcontextprotocol/sdk 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
    Insecure Default Initialization of Resource

    @modelcontextprotocol/sdk is a Model Context Protocol implementation for TypeScript

    Affected versions of this package are vulnerable to Insecure Default Initialization of Resource via the StreamableHTTPServerTransport or SSEServerTransport process when enableDnsRebindingProtection is not enabled. An attacker can access resources or invoke tools exposed by the local server by exploiting DNS rebinding through a malicious website.

    Note: This is only exploitable if the server is running locally over HTTP without authentication and DNS rebinding protection is not enabled.

    How to fix Insecure Default Initialization of Resource?

    Upgrade @modelcontextprotocol/sdk to version 1.24.0 or higher.

    <1.24.0