Spring Framework's WebSocket support does not validate the Origin header by default if...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| SpringSpring Framework |
≥ 7.0.0, < 7.0.10.1→ 7.0.10.1 ≥ 6.2.0, < 6.2.21→ 6.2.21 ≥ 6.1.0, < 6.1.30→ 6.1.30 ≥ 6.0.0, < 6.0.33→ 6.0.33 ≥ 5.3.0, < 5.3.51→ 5.3.51 < 5.2.27.RELEASE→ 5.2.27.RELEASE ≥ 7.0.0, < 7.0.11→ 7.0.11 |
7.0.10.1 6.2.21 6.1.30 6.0.33 5.3.51 5.2.27.RELEASE 7.0.11 |
Original description The description as published by the source.
Spring Framework's WebSocket support does not validate the Origin header by
default if WebSocketHttpRequestHandler is configured directly by the application, rather
than through the WebSocket config via WebSocketHandlerRegistry .
An application is affected if it configures WebSocket handling this way without adding
an origin check. In that case, a page served from a different origin can open a WebSocket
connection resulting in cross-site WebSocket hijacking. Applications that use
the WebSocket config via WebSocketHandlerRegistry are not affected.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web security@vmware.com
- web security@vmware.com
- web nvd.nist.gov
- web github.com