Itiviti / simple-slack-api

(simple) Java Slack client library
470 stars 193 forks source link

CVE-2020-11050 `WebSocketClient` does not perform SSL hostname validation #275

Closed codesampleStore closed 4 years ago

codesampleStore commented 4 years ago

can we update to org.java-websocket:Java-WebSocket 1.5.0?

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. https://cwe.mitre.org/data/definitions/297.html

org.java-websocket:Java-WebSocket (maven)

Affected versions <= 1.4.1

Patched versions 1.5.0

CVE identifier CVE-2020-11050