CVE-2018-17187
HIGH 7.4CVSS 3.0Improper Certificate Validation in proton-j
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
- 13 Nov 2018
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-295
- Also known as
- GHSA-xvch-r4wf-h8w9
- Sources
- NVDJSONOSV GHSA-xvch-r4wf-h8w9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.0 | HIGH 7.4 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | qpid_proton-jcpe:2.3:a:apache:qpid_proton-j:*:*:*:*:*:*:*:* |
>= 0.3, <= 0.29.0 | |
| OSV | Maven | org.apache.qpid:proton-j | >= 0.3, < 0.30.0 | 0.30.0 |
References
- http://www.securityfocus.com/bid/105935 · Third Party Advisory, VDB Entry, WEB
- https://issues.apache.org/jira/browse/PROTON-1962 · Vendor Advisory, WEB
- https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E · Mailing List, Mitigation, Vendor Advisory, WEB
- https://qpid.apache.org/cves/CVE-2018-17187.html · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-17187 · ADVISORY
- https://github.com/apache/qpid-proton-j/commit/0cb8ca03cec42120dcfc434561592d89a89a805e · WEB
- https://github.com/advisories/GHSA-xvch-r4wf-h8w9 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 13 Nov 2018)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2018)