GHSA-4hxv-95rc-jqg7
nv-websocket-client allows attackers to spoof SSL/TLS servers via an arbitrary valid certificate
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | com.neovisionaries:nv-websocket-client | < 2.1 | 2.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
The Java WebSocket client nv-websocket-client does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL/TLS servers via an arbitrary valid certificate.
References
External links from the advisory. They lead to third-party sites.