org.springframework:spring-websocket@7.0.10

  • latest version

    7.0.10

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework:spring-websocket 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
    • M
    Origin Validation Error

    org.springframework:spring-websocket is a framework that provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

    Affected versions of this package are vulnerable to Origin Validation Error in the WebSocketHttpRequestHandler class, which does not validate the Origin header during the handshake when an application configures WebSocket handling directly rather than through WebSocketHandlerRegistry. An attacker can open a WebSocket connection to the application from a page on a different origin in a victim's authenticated browser, because the handler accepts the cross-origin handshake without an origin check. This affects applications that wire up WebSocketHttpRequestHandler directly without adding an OriginHandshakeInterceptor; applications using WebSocketHandlerRegistry are not affected.

    How to fix Origin Validation Error?

    Upgrade org.springframework:spring-websocket to version 7.0.11 or higher.

    [,7.0.11)