Live threats

All CVEs / Java-websocket Project

CVE-2020-11050Java-websocket Project Java-websocket

High 8.1 No auth needed

Priority
64
CVSS 3.1
8.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 57
Auth required
No
Published
May 7, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-297, CWE-295
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

In Java-WebSocket less than or equal to 1.4.1, there is an Improper Validation of Certificate with Host Mismatch where WebSocketClient does not perform SSL hostname validation. This has been patched in 1.5.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for Java-websocket.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.java-websocket:Java-WebSocket < 1.5.0 1.5.0 —

Per OSV / GitHub Advisories (GHSA-gw55-jm4h-x339). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
java-websocket_projectjava-websocket≤ 1.4.1

Official sources

References

Links published by the sources. Open them with care.