CVEfocus › CVE database › CVE-2018-17187

CVE-2018-17187

CVSS 7.4 HighEPSS 2.5% (higher than 85% of CVEs)Published 2018-11-13Updated 2024-08-05Assigner: apache

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.

What to do

Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04qpid-protonNot affected
vulnerable_code_not_present
Ubuntu 25.10qpid-protonNot affected
vulnerable_code_not_present
Ubuntu 24.04qpid-protonNot affected
vulnerable_code_not_present
Ubuntu 22.04qpid-protonNot affected
vulnerable_code_not_present
Ubuntu 20.04qpid-protonNot affected
vulnerable_code_not_present
Ubuntu 18.04qpid-protonFix pendingUBUNTU-CVE-2018-17187
Ubuntu 16.04qpid-protonFix pendingUBUNTU-CVE-2018-17187
Debian 14qpid-protonFixed0.22.0-1DEBIAN-CVE-2018-17187
Debian 13qpid-protonFixed0.22.0-1DEBIAN-CVE-2018-17187
Debian 12qpid-protonFixed0.22.0-1DEBIAN-CVE-2018-17187
Maven libraryorg.apache.qpid:proton-jFixed0.30.0GHSA-xvch-r4wf-h8w9

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.