GitHub Advisory Database
GHSA-63qc-p2x4-9fgf
Improper Handling of Exceptional Conditions and Origin Validation Error in Eclipse Paho Java client library
Details
In the Eclipse Paho Java client library version 1.2.0, when connecting to an MQTT server using TLS and setting a host name verifier, the result of that verification is not checked. This could allow one MQTT server to impersonate another and provide the client library with incorrect information.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.eclipse.paho:org.eclipse.paho.client.mqttv3 | All versions before 1.2.1 (fixed in 1.2.1) |