eclipse / paho.mqtt.java

Eclipse Paho Java MQTT client library. Paho is an Eclipse IoT project.
https://eclipse.org/paho
Other
2.14k stars 887 forks source link

Use of TLS #928

Open akwick opened 2 years ago

akwick commented 2 years ago

Please fill out the form below before submitting, thank you!

During an empirical study to understand the nature of cryptographic misuses in enterprise-driven projects on GitHub, we randomly inspected a few of the misuses. One of the misuses for which we could confirm as a true positive of the analysis, CogniCryptSAST, is in this project. In the class SSLSocketFactoryFactory the default protocol is set to TLS. Other analyses, like SonarSource also mark the usage of TLS as critical.

Expected behavior: A secure protocol Observed behavior: An insecure protocol

How to Reproduce: