# CVE-2018-17187: Improper Certificate Validation in proton-j

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.0, NVD) `CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 2.54% (percentile 86, 2026-11-26)
- **CWE:** CWE-295
- **Aliases:** GHSA-xvch-r4wf-h8w9
- **Published:** 2018-11-13T15:00:00.000Z
- **Modified:** 2026-06-17T01:45:29.907Z

## 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

## 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

- Maven `org.apache.qpid:proton-j`: affected \>= 0.3, \< 0.30.0; fixed 0.30.0 (osv)
- Apache Software Foundation Apache Qpid Proton-J: Apache Qpid Proton-J 0.3 to 0.29.0 (cvelist)

## Mitigation

- Upgrade org.apache.qpid:proton-j to 0.30.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- vendor: <https://issues.apache.org/jira/browse/PROTON-1962>
- vendor: <https://mail-archives.apache.org/mod_mbox/qpid-users/201811.mbox/%3CCAFitrpQSV73Vz7rJYfLJK7gvEymZSCR5ooWUeU8j4jzRydk-eg%40mail.gmail.com%3E>
- vendor: <https://qpid.apache.org/cves/CVE-2018-17187.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-17187>
- vendor: <https://github.com/advisories/GHSA-xvch-r4wf-h8w9>
- patch: <https://github.com/apache/qpid-proton-j/commit/0cb8ca03cec42120dcfc434561592d89a89a805e>
- other: <http://www.securityfocus.com/bid/105935>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-17187>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-xvch-r4wf-h8w9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-17187> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-17187>
