# CVE-2019-0223: Security feature bypass in Apache Qpid Proton

> An attacker can perform undetected man-in-the-middle attacks by bypassing TLS peer certificate verification in Apache Qpid Proton when used with older OpenSSL versions.

- **Severity:** High 7.4 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 23 Apr 2019
- **Updated:** 4 Aug 2024
- **Also known as:** DEBIAN-CVE-2019-0223, RHSA-2019:0886, RHSA-2019:1398, RHSA-2019:1399, RHSA-2019:1400, RHSA-2019:2777, RHSA-2019:2778, RHSA-2019:2779, RHSA-2019:2780, RHSA-2019:2781, RHSA-2019:2782, SUSE-SU-2024:1074-1, UBUNTU-CVE-2019-0223, openSUSE-SU-2024:13808-1

## What is CVE-2019-0223?

CVE-2019-0223 is a high-severity vulnerability in Redhat Enterprise Linux Desktop, published on 23 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

## Which versions are affected by CVE-2019-0223?

It affects 10 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `python-qpid-proton` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `python-qpid-proton-docs` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-c` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-c-devel` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-c-docs` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-cpp` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-cpp-devel` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-cpp-docs` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-debuginfo` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `qpid-proton-tests` | Red Hat:a_mq_clients:2::el6 | All versions | 0:0.27.0-3.el6 |
| `python-qpid-proton` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `python-qpid-proton-docs` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-c` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-c-devel` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-c-docs` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-cpp` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-cpp-devel` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-cpp-docs` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-debuginfo` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-tests` | Red Hat:a_mq_clients:2::el7 | All versions | 0:0.27.0-3.el7 |
| `python-qpid-proton` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.16.0-14.el7sat |
| `python-qpid-proton` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.28.0-1.el7 |
| `qpid-proton` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.16.0-14.el7sat |
| `qpid-proton` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.28.0-1.el7 |
| `qpid-proton-c` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.16.0-14.el7sat |
| `qpid-proton-c` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.28.0-1.el7 |
| `qpid-proton-debuginfo` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.16.0-14.el7sat |
| `qpid-proton-debuginfo` | Red Hat:enterprise_linux:7::hypervisor | All versions | 0:0.28.0-1.el7 |
| `qpid-proton` | Red Hat:openstack-optools:14::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-c` | Red Hat:openstack-optools:14::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-debuginfo` | Red Hat:openstack-optools:14::el7 | All versions | 0:0.27.0-3.el7 |
| `jsoncpp` | Red Hat:openstack:13::el7 | All versions | 0:1.7.7-1.el7 |
| `jsoncpp-debuginfo` | Red Hat:openstack:13::el7 | All versions | 0:1.7.7-1.el7 |
| `python-qpid-proton` | Red Hat:openstack:13::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton` | Red Hat:openstack:13::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-c` | Red Hat:openstack:13::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-cpp` | Red Hat:openstack:13::el7 | All versions | 0:0.27.0-3.el7 |
| `qpid-proton-debuginfo` | Red Hat:openstack:13::el7 | All versions | 0:0.27.0-3.el7 |

Products: Apache Qpid, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Tus, Redhat Enterprise Linux Workstation, Redhat Jboss Amq Clients 2, Redhat Openstack, Redhat Satellite.

## How do I fix CVE-2019-0223?

Upgrade to a fixed version.

## Is CVE-2019-0223 being exploited?

There is no known exploitation of CVE-2019-0223 in the wild and no public exploit code.

## Other vulnerabilities in Redhat Enterprise Linux Desktop

- [CVE-2015-0224](https://insights.sbomify.com/CVE-2015-0224/): Denial of service in n/a (high 7.5)
- [CVE-2011-3620](https://insights.sbomify.com/CVE-2011-3620/): Auth bypass in n/a (high 7.5)
- [CVE-2012-4446](https://insights.sbomify.com/CVE-2012-4446/): Improper Authentication in Apache Qpid (medium 6.8)
- [CVE-2015-0203](https://insights.sbomify.com/CVE-2015-0203/): Denial of service in n/a (medium 6.5)
- [CVE-2013-1909](https://insights.sbomify.com/CVE-2013-1909/): Apache Qpid Python client Improper certificate validation (medium 5.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-0223 and fix it if it is affected.

What it is: CVE-2019-0223 is a high-severity vulnerability in Redhat Enterprise Linux Desktop, published on 23 Apr 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2019-0223 in the wild and no public exploit code.

Affected product: Redhat Enterprise Linux Desktop. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-0223/ (Markdown: https://insights.sbomify.com/CVE-2019-0223/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-0223
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-0223
- OSV: https://osv.dev/vulnerability/CVE-2019-0223

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-0223/
Summaries are generated and may contain mistakes; the official description above is the record.
