CVE-2017-1000209 nv-websocket-client allows attackers to spoof SSL/TLS servers via an arbitrary valid certificate
Man-in-the-middle attackers can spoof SSL/TLS servers because the Java WebSocket client fails to verify hostname against certificate fields.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-1000209?
CVE-2017-1000209 is a medium-severity vulnerability in n/a, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-295
Which versions are affected by CVE-2017-1000209?
2 open source packages ship an affected version, including com.neovisionaries:nv-websocket-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.neovisionaries:nv-websocket-client Maven | All versions | 2.1 |
com.neovisionaries:nv-websocket-client Maven | All versions | 2.1 |
Products include Nv-Websocket-Client Project Nv-Websocket-Client.
How do I fix CVE-2017-1000209?
Upgrade com.neovisionaries:nv-websocket-client to 2.1 or later.
Is CVE-2017-1000209 being exploited?
There is no known exploitation of CVE-2017-1000209 in the wild and no public exploit code.
Sources
Also known as GHSA-4hxv-95rc-jqg7.