{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2018-17187","id":"CVE-2018-17187","title":"Improper Certificate Validation in proton-j","description":"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 ver","descriptionLong":"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.","published":"2018-11-13T15:00:00.000Z","updated":"2026-10-24T10:30:35.525641017Z","reserved":"2018-09-19T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"apache","metric":{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},"metrics":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"NVD"},{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":["Apache Software Foundation Apache Qpid Proton-J"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache Qpid Proton-J","defaultStatus":null,"versions":[{"status":"affected","version":"Apache Qpid Proton-J 0.3 to 0.29.0"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.qpid:proton-j","purl":"pkg:maven/org.apache.qpid/proton-j","ranges":[">=0.3 <0.30.0"],"fixed":["0.30.0"],"advisory":"GHSA-xvch-r4wf-h8w9"}],"cwes":["CWE-295"],"aliases":["GHSA-xvch-r4wf-h8w9"],"references":[{"url":"https://issues.apache.org/jira/browse/PROTON-1962","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/105935","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E","tags":["x_refsource_MISC","x_transferred","Mailing List","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://qpid.apache.org/cves/CVE-2018-17187.html","tags":["x_refsource_MISC","x_transferred","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17187","tags":["advisory"]},{"url":"https://github.com/apache/qpid-proton-j/commit/0cb8ca03cec42120dcfc434561592d89a89a805e","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xvch-r4wf-h8w9","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02539,"epssPercentile":0.85289,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2018-17187","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-17187","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2018-17187","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xvch-r4wf-h8w9","ok":true,"note":"GHSA-xvch-r4wf-h8w9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2018-17187","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}