{"id":"UBUNTU-CVE-2018-17187","details":"The Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the 'transport.ssl(...)' methods. Unless a verification mode was explicitly configured, client and server modes previously defaulted as documented to not verifying a peer certificate, with options to configure this explicitly or select a certificate verification mode with or without hostname verification being performed. The latter hostname verifying mode was not implemented in Apache Qpid Proton-J versions 0.3 to 0.29.0, with attempts to use it resulting in an exception. This left only the option to verify the certificate is trusted, leaving such a client vulnerable to Man In The Middle (MITM) attack. Uses of the Proton-J protocol engine which do not utilise the optional transport TLS wrapper are not impacted, e.g. usage within Qpid JMS. Uses of Proton-J utilising the optional transport TLS wrapper layer that wish to enable hostname verification must be upgraded to version 0.30.0 or later and utilise the VerifyMode#VERIFY_PEER_NAME configuration, which is now the default for client mode usage unless configured otherwise.","modified":"2026-04-22T11:48:22.663344Z","published":"2018-11-13T15:29:00Z","upstream":["CVE-2018-17187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-17187"},{"type":"REPORT","url":"https://qpid.apache.org/cves/CVE-2018-17187.html"},{"type":"REPORT","url":"https://issues.apache.org/jira/browse/PROTON-1962"},{"type":"REPORT","url":"https://github.com/apache/qpid-proton-j/commit/0cb8ca03cec42120dcfc434561592d89a89a805e"},{"type":"REPORT","url":"https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-17187"}],"affected":[{"package":{"name":"qpid-proton","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/qpid-proton@0.10-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.7-2","0.10-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libqpid-proton2","binary_version":"0.10-2"},{"binary_name":"libqpid-proton2-dev-examples","binary_version":"0.10-2"},{"binary_name":"python-qpid-proton","binary_version":"0.10-2"},{"binary_name":"python3-qpid-proton","binary_version":"0.10-2"},{"binary_name":"qpid-proton-dump","binary_version":"0.10-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-17187.json"}},{"package":{"name":"qpid-proton","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/qpid-proton@0.14.0-5.1ubuntu1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.14.0-5.1","0.14.0-5.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libqpid-proton-cpp8","binary_version":"0.14.0-5.1ubuntu1"},{"binary_name":"libqpid-proton8","binary_version":"0.14.0-5.1ubuntu1"},{"binary_name":"libqpid-proton8-dev-examples","binary_version":"0.14.0-5.1ubuntu1"},{"binary_name":"python-qpid-proton","binary_version":"0.14.0-5.1ubuntu1"},{"binary_name":"python3-qpid-proton","binary_version":"0.14.0-5.1ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-17187.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}