org.springframework.ai:mcp-spring-webmvc@2.0.0

  • latest version

    2.0.1

  • latest non vulnerable version

  • first published

    5 months ago

  • latest version published

    6 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.ai:mcp-spring-webmvc 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
    Allocation of Resources Without Limits or Throttling

    Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling through unbounded session retention in the handleInitRequest path of WebFluxStreamableServerTransportProvider and WebMvcStreamableServerTransportProvider. An unauthenticated remote attacker can exhaust server memory by repeatedly sending initialize requests that create new sessions without any built-in cap or idle reclamation. Because the transport keeps each created session in memory and accepts new sessions by default, the session list grows over time until resource exhaustion prevents legitimate clients from using the MCP server.

    Notes

    • Additional fixes are available for earlier versions under Enterprise Support (see the Spring Security Advisory for additional details)

    How to fix Allocation of Resources Without Limits or Throttling?

    Upgrade org.springframework.ai:mcp-spring-webmvc to version 2.0.1 or higher.

    [2.0.0,2.0.1)