cve.bz

CVE-2022-33681 apache pulsar: Improper Certificate Validation

5.9 mediumEPSS 0.7%Fix available

Medium (5.9) in apache pulsar. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.pulsar:pulsar-client 2.10.1, 2.7.5, 2.8.4.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-33681 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-33681?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-33681?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-33681 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache Pulsar2.10.0
Apache Software Foundation Apache Pulsarfrom 2.7 through 2.7.4
Apache Software Foundation Apache Pulsarfrom 2.8 through 2.8.3
Apache Software Foundation Apache Pulsarfrom 2.9 through 2.9.2
Apache Software Foundation Apache Pulsarfrom 2.6 and earlier through 2.6.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c5fp-x2h5-vjv7Mavenorg.apache.pulsar:pulsar-client<2.7.52.7.5
GHSA-c5fp-x2h5-vjv7Mavenorg.apache.pulsar:pulsar-client>=2.8.0 <2.8.42.8.4
GHSA-c5fp-x2h5-vjv7Mavenorg.apache.pulsar:pulsar-client>=2.9.0 <2.9.32.9.3
GHSA-c5fp-x2h5-vjv7Mavenorg.apache.pulsar:pulsar-client>=2.10.0 <2.10.12.10.1

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
RHINT Camel-Springboot 3.20.1org.apache.pulsar-pulsar-clientFixed 2023-05-03RHSA-2023:2100
Red Hat Fuse 7org.apache.pulsar-pulsar-clientWill not fix
Red Hat Integration Camel K 1org.apache.pulsar-pulsar-clientWill not fix
Red Hat Integration Camel Quarkus 1org.apache.pulsar-pulsar-clientWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-33681.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON