org.springframework:spring-websocket@4.1.4.RELEASE

  • 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)
    • M
    Cross-site Request Forgery (CSRF)

    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 Cross-site Request Forgery (CSRF) via the StompSubProtocolHandler module. An attacker can perform unauthorized actions on behalf of authenticated users by tricking them into submitting malicious requests.

    How to fix Cross-site Request Forgery (CSRF)?

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

    [,6.2.12)
    • L
    Improper Handling of Case Sensitivity

    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 Improper Handling of Case Sensitivity due to String.toLowerCase() having some Locale dependent exceptions that could potentially result in fields not protected as expected.

    Note:

    The fix for CVE-2022-22968 made disallowedFields patterns in DataBinder case insensitive.

    This vulnerability was also fixed in commercial versions 5.3.41 and 6.0.25.

    How to fix Improper Handling of Case Sensitivity?

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

    [,6.1.14)
    • M
    Insufficiently Random Session ID

    org.springframework:spring-websocket The Java SockJS client in Pivotal Spring Framework 4.1.x before 4.1.5 generates predictable session ids, which allows remote attackers to send messages to other sessions via unspecified vectors.

    [4.1.0.RELEASE,4.1.5.RELEASE)