CVE-2018-17187
Improper Certificate Validation in proton-j
Also known as GHSA-xvch-r4wf-h8w9
Mitigation
- Upgrade org.apache.qpid:proton-j to 0.30.0 or later.
Who should check
- Projects that depend on Maven package org.apache.qpid:proton-j (>= 0.3, < 0.30.0)
- Anyone running Apache Software Foundation Apache Qpid Proton-J Apache Qpid Proton-J 0.3 to 0.29.0
Vulnerability facts
- Affected
- org.apache.qpid:proton-j >= 0.3, < 0.30.0
- Fixed in
- 0.30.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.4 (v3.0, NVD)CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 2.54% chance of exploitation in 30 days (percentile 86, 2026-11-26)
- CWE
- CWE-295
- Modified
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 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.qpid:proton-j | >= 0.3, < 0.30.0 | 0.30.0 | osv |
| Apache Software Foundation Apache Qpid Proton-J | Apache Qpid Proton-J 0.3 to 0.29.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2018-17187. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2018-17187.md Affected: org.apache.qpid:proton-j >= 0.3, < 0.30.0 Fixed in: 0.30.0 Steps: 1. Search this machine and project for org.apache.qpid:proton-j (Maven), Apache Software Foundation Apache Qpid Proton-J: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://issues.apache.org/jira/browse/PROTON-1962
- https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E
- https://qpid.apache.org/cves/CVE-2018-17187.html
- https://nvd.nist.gov/vuln/detail/CVE-2018-17187
- https://github.com/advisories/GHSA-xvch-r4wf-h8w9
FAQ
Is CVE-2018-17187 being exploited?
There is no confirmed exploitation: CVE-2018-17187 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 2.54% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2018-17187?
High: CVSS 7.4 (v3.0, scored by NVD). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2018-17187?
org.apache.qpid:proton-j >= 0.3, < 0.30.0.
Is there a fix for CVE-2018-17187?
Yes. Fixed in 0.30.0. Upgrade org.apache.qpid:proton-j to 0.30.0 or later.
How do I check if I'm affected by CVE-2018-17187?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.