Insufficient Hostname Verification Affecting org.eclipse.paho:org.eclipse.paho.client.mqttv3 package, versions [,1.2.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Hostname Verification vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGECLIPSEPAHO-466669
  • published11 Sept 2019
  • disclosed11 Sept 2019
  • creditminii-dev

Introduced: 11 Sep 2019

CVE-2019-11777  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade org.eclipse.paho:org.eclipse.paho.client.mqttv3 to version 1.2.1 or higher.

Overview

org.eclipse.paho:org.eclipse.paho.client.mqttv3 is an an MQTT client library written in Java for developing applications that run on the JVM or other Java compatible platforms such as Android.

Affected versions of this package are vulnerable to Insufficient Hostname Verification. When connecting to an MQTT server using TLS, the package was found to not check the results of setting a host name verifier. This could allow one MQTT server to impersonate another and provide the client library with incorrect information.

CVSS Scores

version 3.1