Vulnerabilities in pkg:maven/org.apache.qpid/proton-j

PACKAGE
Advisory Identifier: GHSA-5h6x-m52p-23ph
Advisory Summary

CVE-2019-0223 is a HIGH (CVSS 7.4) improper certificate validation vulnerability (CWE-295: Improper Certificate Validation) affecting Withdrawn Advisory libraries in the Maven ecosystem. The issue involves improper certificate validation in apache qpid proton. Remediation is available by upgrading affected packages to version 0.27.1.

3 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.qpid/proton-j

3 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.qpid/proton-j. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-5h6x-m52p-23ph CVE-2019-0223 HIGH Withdrawn Advisory: Improper Certificate Validation in Apache Qpid Proton
GHSA-xvch-r4wf-h8w9 CVE-2018-17187 HIGH Improper Certificate Validation in proton-j
GHSA-f5cf-f7px-xpmh CVE-2016-2166 MODERATE Moderate severity vulnerability that affects org.apache.qpid:proton-j

CVE-2019-0223 at a Glance

CVE Identifier CVE-2019-0223
GHSA Identifier GHSA-5h6x-m52p-23ph
Severity HIGH
CVSS v3.1 Base Score 7.4
CWE Classification CWE-295: Improper Certificate Validation
Affected Product Withdrawn Advisory
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (A:N)

How to Fix CVE-2019-0223

To remediate this vulnerability, upgrade all affected Withdrawn Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.qpid:proton-j fixed: 0.27.1
<dependency>
    <groupId>org.apache.qpid</groupId>
    <artifactId>proton-j</artifactId>
    <version>0.27.1</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.qpid

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-0223, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.qpid

Analyze the terminal output to locate any version of Withdrawn Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.27.1), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.qpid command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-295: Improper Certificate Validation, where the product does not validate, or incorrectly validates, a certificate. In Withdrawn Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Withdrawn Advisory This advisory has been withdrawn because the vulnerability only affects the **Qpid Proton C library** and not `org.apache.qpid:proton-j`. This link has been maintained to preserve external references. ## Original Description While investigating bug PROTON-2014, we discovered that under some circumstances Apache Qpid Proton versions 0.9 to 0.27.0 (C library and its language bindings) can connect to a peer anonymously using TLS *even when configured to verify the peer certificate* while used with OpenSSL versions before 1.1.0. This means that an undetected man in the middle attack could be constructed if an attacker can arrange to intercept TLS traffic.

CVE-2019-0223 Affected Withdrawn Advisory Versions

1 component(s)
Fixed Versions:
0.27.1
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.qpid:proton-j
Maven
≥ 0.9
< 0.27.1
0.27.1

References

Frequently Asked Questions

What is CVE-2019-0223?
CVE-2019-0223 is a security vulnerability in Withdrawn Advisory involving Improper Certificate Validation in Apache Qpid Proton under CWE-295: Improper Certificate Validation.
Which Withdrawn Advisory versions are affected?
Affected versions include releases prior to 0.27.1 across affected packages: org.apache.qpid:proton-j.
What version fixes CVE-2019-0223?
Upgrading to 0.27.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is proton-j affected?
Yes, org.apache.qpid:proton-j is affected in releases prior to 0.27.1. Upgrade your dependency to 0.27.1 or later.
What is the CVSS score of CVE-2019-0223?
CVE-2019-0223 has a CVSS v3.1 base score of 7.4 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2019-0223?
CVE-2019-0223 is classified under CWE-295: Improper Certificate Validation (The product does not validate, or incorrectly validates, a certificate.).
How can I check Maven dependencies for CVE-2019-0223?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.qpid'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-5h6x-m52p-23ph",
  "modified" : "2025-07-01T21:15:27Z",
  "published" : "2022-05-24T16:44:10Z",
  "withdrawn" : "2025-07-01T21:15:27Z",
  "aliases" : [ "CVE-2019-0223" ],
  "summary" : "Withdrawn Advisory: Improper Certificate Validation in Apache Qpid Proton",
  "details" : "## Withdrawn Advisory\nThis advisory has been withdrawn because the vulnerability only affects the **Qpid Proton C library** and not `org.apache.qpid:proton-j`. This link has been maintained to preserve external references.\n\n## Original Description\n\nWhile investigating bug PROTON-2014, we discovered that under some circumstances Apache Qpid Proton versions 0.9 to 0.27.0 (C library and its language bindings) can connect to a peer anonymously using TLS *even when configured to verify the peer certificate* while used with OpenSSL versions before 1.1.0. This means that an undetected man in the middle attack could be constructed if an attacker can arrange to intercept TLS traffic.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.qpid:proton-j"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.9"
      }, {
        "fixed" : "0.27.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0223"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/PROTON-2014?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/008ee5e78e5a090e1fcc5f6617f425e4e51d59f03d3eda2dd006df9f@%3Cusers.qpid.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/3adb2f020f705b4fd453982992a68cd10f9d5ac728b699efdb73c1f5@%3Cdev.qpid.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/49c83f0acce5ceaeffca51714ec2ba0f0199bcb8f99167181bba441b@%3Cdev.qpid.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/914424e4d798a340f523b6169aaf39b626971d9bb00fcdeb1d5d6c0d@%3Ccommits.qpid.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/d9c9a882a292e2defaed1f954528c916fb64497ce57db652727e39b0@%3Cannounce.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2019/04/23/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/108044"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-295" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-02T00:05:42Z",
    "nvd_published_at" : "2019-04-23T16:29:00Z"
  }
}