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-2017-5646 Vulnerability in maven package org.apache.knox:gateway
CVE-2021-42697 Vulnerability in maven package com.typesafe.akka:akka-http_2.12
CVE-2021-43812 Vulnerability in npm package @auth0/nextjs-auth0
CVE-2021-23450 Vulnerability in npm package dojo
CVE-2019-13000 Vulnerability in maven package fr.acinq.eclair:eclair-core_2.11