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-10535 Vulnerability in npm package csrf-lite
CVE-2019-1003003 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2021-31635 Vulnerability in maven package com.jfinal:jfinal
CVE-2022-45398 Vulnerability in maven package org.zeroturnaround:cluster-stats
CVE-2014-3607 Vulnerability in maven package edu.vt.middleware:vt-ldap