Home / Apache Software Foundation / Apache Pulsar / CVE-2022-33681
CVE-2022-33681: is it exploited, and which versions of Apache Software Foundation Apache Pulsar are affected and fixed?
CVE-2022-33681 is an improper certificate validation vulnerability in Apache Software Foundation Apache Pulsar. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: org.apache.pulsar:pulsar-client before 2.7.5, org.apache.pulsar:pulsar-client from 2.8.0 before 2.8.4, org.apache.pulsar:pulsar-client from 2.9.0 before 2.9.3 and 1 more (GitHub advisory GHSA-c5fp-x2h5-vjv7). Fixed in 2.7.5, 2.8.4, 2.9.3 and 2.10.1 (GitHub advisory GHSA-c5fp-x2h5-vjv7). Severity: Medium (5.9, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-33681?
Improper Hostname Verification in Java Client and Proxy can expose authentication data via MITM
Delayed TLS hostname verification in the Pulsar Java Client and the Pulsar Proxy make each client vulnerable to a man in the middle attack. Connections from the Pulsar Java Client to the Pulsar Broker/Proxy and connections from the Pulsar Proxy to the Pulsar Broker are vulnerable. Authentication data is sent before verifying the server’s TLS certificate matches the hostname, which means authentication data could be exposed to an attacker. An attacker can only take advantage of this vulnerability by taking control of a machine 'between' the client and the server. The attacker must then actively manipulate traffic to perform the attack by providing the client with a cryptographically valid certificate for an unrelated host. Because the client sends authentication data before performing hostname verification, an attacker could gain access to the client’s authentication data. The client eventually closes the connection when it verifies the hostname and identifies the targeted hostname does not match a hostname on the certificate. Because the client eventually closes the connection, the value of the intercepted authentication data depends on the authentication method used by the client. Token based authentication and username/password authentication methods are vulnerable because the authentication data can be used to impersonate the client in a separate session. This issue affects Apache Pulsar Java Client versions 2.7.0 to 2.7.4; 2.8.0 to 2.8.3; 2.9.0 to 2.9.2; 2.10.0; 2.6.4 and earlier.
From the CVE record by apache, last updated May 22, 2025, 20:37 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Pulsar | 2.10.0 from 2.7 through 2.7.4 from 2.8 through 2.8.3 from 2.9 through 2.9.2 from 2.6 and earlier through 2.6.4 |
As the CVE record by apache states it, last updated May 22, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.pulsar:pulsar-client | < 2.7.5 | 2.7.5 | GHSA-c5fp-x2h5-vjv7 |
| Maven | org.apache.pulsar:pulsar-client | >= 2.8.0, < 2.8.4 | 2.8.4 | GHSA-c5fp-x2h5-vjv7 |
| Maven | org.apache.pulsar:pulsar-client | >= 2.9.0, < 2.9.3 | 2.9.3 | GHSA-c5fp-x2h5-vjv7 |
| Maven | org.apache.pulsar:pulsar-client | >= 2.10.0, < 2.10.1 | 2.10.1 | GHSA-c5fp-x2h5-vjv7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 30, 2022. Summary: Apache Pulsar Java Client vulnerable to Improper Certificate Validation.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | pulsar | before 2.7.5 | application |
| apache | pulsar | from 2.8.0 before 2.8.4 | application |
| apache | pulsar | from 2.9.0 before 2.9.3 | application |
| apache | pulsar | 2.10.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:49 UTC.
How severe is CVE-2022-33681?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
| Medium 5.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-33681 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 22, 2025)
- EPSS
- 0.71% probability of exploitation activity in the next 30 days, percentile 54.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
Is there a workaround? (from the CVE record)
Any users running affected versions of the Java Client should rotate vulnerable authentication data, including tokens and passwords. 2.7 Pulsar Java Client users should upgrade to 2.7.5, and rotate vulnerable authentication data, including tokens and passwords. 2.8 Pulsar Java Client users should upgrade to 2.8.4, and rotate vulnerable authentication data, including tokens and passwords. 2.9 Pulsar Java Client users should upgrade to 2.9.3, and rotate vulnerable authentication data, including tokens and passwords. 2.10 Pulsar Java Client users should upgrade to 2.10.1, and rotate vulnerable authentication data, including tokens and passwords. Any users running the Pulsar Java Client for 2.6.4 and earlier should upgrade to one of the above patched versions, and rotate vulnerable authentication data, including tokens and passwords.
Where are the vendor advisories and references?
- https://lists.apache.org/thread/fpo6x10trvn20hlk0dmnr5vlz5v4kl3d x_refsource_MISC
Who found and reported it?
- This issue was discovered by Michael Marshall of DataStax. (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- June 15, 2022
- Published
- September 23, 2022, 09:25 UTC
- CVE record updated
- May 22, 2025, 20:37 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 04:49 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Pulsar?
- Oct 21, 2026CVE-2026-105945 Apache Software Foundation Apache Pulsar: path traversal (reading or writing files outside the intended folder)
- Oct 21, 2026CVE-2026-105942 Apache Software Foundation Apache Pulsar: incorrect authorization
- Oct 21, 2026CVE-2026-105938 Apache Software Foundation Apache Pulsar: incorrect authorization
- Oct 21, 2026CVE-2026-105937 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105936 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105935 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105934 Apache Software Foundation Apache Pulsar: missing authorization
- Oct 21, 2026CVE-2026-105933 Apache Software Foundation Apache Pulsar: not Failing Securely
Questions about CVE-2022-33681
Is CVE-2022-33681 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.71% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Pulsar are affected by CVE-2022-33681?
org.apache.pulsar:pulsar-client before 2.7.5, org.apache.pulsar:pulsar-client from 2.8.0 before 2.8.4, org.apache.pulsar:pulsar-client from 2.9.0 before 2.9.3 and org.apache.pulsar:pulsar-client from 2.10.0 before 2.10.1, per the GitHub advisory GHSA-c5fp-x2h5-vjv7. The tables above give every range the sources list.
Which version fixes CVE-2022-33681?
2.7.5, 2.8.4, 2.9.3 and 2.10.1, per the GitHub advisory GHSA-c5fp-x2h5-vjv7. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-33681?
Medium (5.9, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-33681?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.