CVE-2020-11050
mediumpriority · track · 32EPSS 0.008 · 56 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
- java-websocket project java-websocket≤ 1.4.1nvdUScpe:2.3:a:java-websocket_project:java-websocket:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-gw55-jm4h-x339Improper Validation of Certificate with Host Mismatch in Java-WebSocket2020-05-08ghsa · osvUS
The Java-WebSocket Client does not perform hostname verification. - This means that SSL certificates of other hosts are accepted as long as they are trusted. To exploit this vulnerability an attacker has to perform a man-in-the-middle (MITM) attack between a Java application using the Java-WebSocket Client and an WebSocket server it's connecting to. - TLS normally protects users and systems against MITM attacks, it cannot if certificates from other trusted hosts are accepted by the client. For more information see: CWE-297: Improper Validation of Certificate with Host Mismatch - https://cwe.mitre.org/data/definitions/297.html ## Important note The OWASP Dependency-Check (https://jeremylong.github.io/DependencyCheck/index.html) may report that a dependency of your project is affected by this security vulnerability, but you don't use this lib. This is caused by the fuzzy search in the OWASP implementation. Check out this issue (https://github.com/TooTallNate/Java-WebSocket/issues/1019#issuecomment-628507934) for more information and a way to suppress the warning.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- http://www.nsfocus.net/vulndb/47268cnnvd
- https://github.com/TooTallNate/Java-WebSocket/security/advisories/GHSA-gw55-jm4h-x339cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-11050cnnvd
- https://github.com/TooTallNate/Java-WebSocket/security/advisories/GHSA-gw55-jm4h-x339enisa_euvd
- https://github.com/TooTallNate/Java-WebSocket/security/advisories/GHSA-gw55-jm4h-x339Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan