Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-33682

MEDIUM 5.9EPSS 44%

Disabled Hostname Verification makes Brokers, Proxies vulnerable to MITM attack

Also known as GHSA-jvf3-mfxv-jcqr

Mitigation

  • Upgrade org.apache.pulsar:pulsar-broker to one of 2.7.5, 2.8.4, 2.9.3, 2.10.1 (or later in the same release line).
  • Upgrade org.apache.pulsar:pulsar-proxy to one of 2.7.5, 2.8.4, 2.9.3, 2.10.1 (or later in the same release line).
  • Vendor workaround: Any users running affected versions of the Pulsar Broker, Pulsar Proxy, or Pulsar WebSocket Proxy should rotate static authentication data vulnerable to man in the middle attacks used by these applications, including tokens and passwords.
  • To enable hostname verification, update the following configuration files.
  • In the Broker configuration (broker.conf, by default) and in the WebSocket Proxy configuration (websocket.conf, by default), set:
  • brokerClient_tlsHostnameVerificationEnable=true
  • In Pulsar Helm chart deployments, the Broker and WebSocket Proxy setting name should be prefixed with "PULSAR_PREFIX_".
  • In the Proxy configuration (proxy.conf, by default), set:
  • tlsHostnameVerificationEnabled=true
  • 2.7 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.7.5, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.
  • 2.8 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.8.4, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.
  • 2.9 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.9.3, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.
  • 2.10 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.10.1, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.
  • Any users running Pulsar Brokers, Proxies, and WebSocket Proxies for 2.6.4 and earlier should upgrade to one of the above patched versions, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.

Who should check

  • Projects that depend on Maven package org.apache.pulsar:pulsar-broker (< 2.7.5)
  • Projects that depend on Maven package org.apache.pulsar:pulsar-proxy (< 2.7.5)
  • Anyone running Apache Software Foundation Apache Pulsar 2.10.0; >= 2.7, <= 2.7.4; >= 2.8, <= 2.8.3; >= 2.9, <= 2.9.2; >= 2.6 and earlier, <= 2.6.4

Vulnerability facts

Affected
org.apache.pulsar:pulsar-broker < 2.7.5; org.apache.pulsar:pulsar-proxy < 2.7.5
Fixed in
2.7.5, 2.8.4, 2.9.3, 2.10.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: None
  • Availability impact: None
EPSS
0.61% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-295
Published
Modified

Description

TLS hostname verification cannot be enabled in the Pulsar Broker's Java Client, the Pulsar Broker's Java Admin Client, the Pulsar WebSocket Proxy's Java Client, and the Pulsar Proxy's Admin Client leaving intra-cluster connections and geo-replication connections vulnerable to man in the middle attacks, which could leak credentials, configuration data, message data, and any other data sent by these clients. The vulnerability is for both the pulsar+ssl protocol and HTTPS. 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. This issue affects Apache Pulsar Broker, Proxy, and WebSocket Proxy 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.

Affected and fixed versions

Package / productAffectedFixedSource
Maven org.apache.pulsar:pulsar-broker< 2.7.52.7.5, 2.8.4, 2.9.3, 2.10.1osv
Maven org.apache.pulsar:pulsar-proxy< 2.7.52.7.5, 2.8.4, 2.9.3, 2.10.1osv
Apache Software Foundation Apache Pulsar2.10.0; >= 2.7, <= 2.7.4; >= 2.8, <= 2.8.3; >= 2.9, <= 2.9.2; >= 2.6 and earlier, <= 2.6.4—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-33682. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-33682.md
Affected: org.apache.pulsar:pulsar-broker < 2.7.5; org.apache.pulsar:pulsar-proxy < 2.7.5
Fixed in: 2.7.5, 2.8.4, 2.9.3, 2.10.1

Steps:
1. Search this machine and project for org.apache.pulsar:pulsar-broker (Maven), org.apache.pulsar:pulsar-proxy (Maven), Apache Software Foundation Apache Pulsar: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-33682 being exploited?

There is no confirmed exploitation: CVE-2022-33682 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-33682?

Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2022-33682?

org.apache.pulsar:pulsar-broker < 2.7.5; org.apache.pulsar:pulsar-proxy < 2.7.5.

Is there a fix for CVE-2022-33682?

Yes. Fixed in 2.7.5, 2.8.4, 2.9.3, 2.10.1. Upgrade org.apache.pulsar:pulsar-broker to one of 2.7.5, 2.8.4, 2.9.3, 2.10.1 (or later in the same release line). Upgrade org.apache.pulsar:pulsar-proxy to one of 2.7.5, 2.8.4, 2.9.3, 2.10.1 (or later in the same release line). Vendor workaround: Any users running affected versions of the Pulsar Broker, Pulsar Proxy, or Pulsar WebSocket Proxy should rotate static authentication data vulnerable to man in the middle attacks used by these applications, including tokens and passwords. To enable hostname verification, update the following configuration files. In the Broker configuration (broker.conf, by default) and in the WebSocket Proxy configuration (websocket.conf, by default), set: brokerClient_tlsHostnameVerificationEnable=true In Pulsar Helm chart deployments, the Broker and WebSocket Proxy setting name should be prefixed with "PULSAR_PREFIX_". In the Proxy configuration (proxy.conf, by default), set: tlsHostnameVerificationEnabled=true 2.7 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.7.5, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration. 2.8 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.8.4, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration. 2.9 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.9.3, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration. 2.10 users should upgrade Pulsar Brokers, Proxies, and WebSocket Proxies to 2.10.1, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration. Any users running Pulsar Brokers, Proxies, and WebSocket Proxies for 2.6.4 and earlier should upgrade to one of the above patched versions, rotate vulnerable authentication data, including tokens and passwords, and apply the above configuration.

How do I check if I'm affected by CVE-2022-33682?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors