Description
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.
Remediation
References
https://github.com/TakahikoKawasaki/nv-websocket-client/pull/107
Related Vulnerabilities
CVE-2016-6817 Vulnerability in maven package org.apache.tomcat:tomcat-coyote
CVE-2018-6874 Vulnerability in maven package org.webjars.npm:auth0-js
CVE-2022-39386 Vulnerability in npm package @fastify/websocket
CVE-2015-8859 Vulnerability in npm package send
CVE-2019-10349 Vulnerability in maven package org.jenkins-ci.plugins:depgraph-view