cve.bz

CVE-2022-33684 apache pulsar: Improper Certificate Validation

8.1 highExploit referenceEPSS 1.0%Fix available

High (8.1) in apache pulsar. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in pulsar-client 2.10.2, 2.7.5, 2.8.4.

On this page
The Apache Pulsar C++ Client does not verify peer TLS certificates when making HTTPS calls for the OAuth2.0 Client Credential Flow, even when tlsAllowInsecureConnection is disabled via configuration. This vulnerability allows an attacker to perform a man in the middle attack and intercept and/or modify the GET request that is sent to the ClientCredentialFlow 'issuer url'. The intercepted credentials can be used to acquire authentication data from the OAuth2.0 server to then authenticate with an Apache Pulsar cluster. 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. The Apache Pulsar Python Client wraps the C++ client, so it is also vulnerable in the same way. This issue affects Apache Pulsar C++ Client and Python 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 to 2.10.1; 2.6.4 and earlier. Any users running affected versions of the C++ Client or the Python Client should rotate vulnerable OAuth2.0 credentials, including client_id and client_secret. 2.7 C++ and Python Client users should upgrade to 2.7.5 and rotate vulnerable OAuth2.0 credentials. 2.8 C++ and Python Client users should upgrade to 2.8.4 and rotate vulnerable OAuth2.0 credentials. 2.9 C++ and Python Client users should upgrade to 2.9.3 and rotate vulnerable OAuth2.0 credentials. 2.10 C++ and Python Client users should upgrade to 2.10.2 and rotate vulnerable OAuth2.0 credentials. 3.0 C++ users are unaffected and 3.0 Python Client users will be unaffected when it is released. Any users running the C++ and Python Client for 2.6 or less should upgrade to one of the above patched versions.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 0.9% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd 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: total, assessed 2025-05-02. 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-33684 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-33684?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-33684?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-33684 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 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.10 through 2.10.1
Apache Software Foundation Apache Pulsarfrom 2.6 and earlier through 2.6.4

Fixed in

ProductFixed in
Apache Software Foundation Apache Pulsar3.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-5r3h-c3r7-9w4hPyPIpulsar-client<2.7.52.7.5
GHSA-5r3h-c3r7-9w4hPyPIpulsar-client>=2.8.0 <2.8.42.8.4
GHSA-5r3h-c3r7-9w4hPyPIpulsar-client>=2.9.0 <2.9.32.9.3
GHSA-5r3h-c3r7-9w4hPyPIpulsar-client>=2.10.0 <2.10.22.10.2
PYSEC-2026-901PyPIpulsar-client<2.7.5
>=2.8.0 <2.8.4
>=2.9.0 <2.9.3
>=2.10.0 <2.10.2
2.7.5, 2.8.4, 2.9.3, 2.10.2

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