5.9

CVE-2022-33681: Improper Hostname Verification in Java Client and Proxy can expose authentication data via MITM

Modified
AliasesGHSA-c5fp-x2h5-vjv7
Published 23-09-2022Last modified 22-05-2025

Vulnerability summary

CVE-2022-33681 is a medium (CVSS 5.9) Improper Certificate Validation vulnerability in apache software foundation apache pulsar. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 54.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.71%
0%100%
Low · +0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 23-09-2022
    PublishedVulnerability first disclosed.
  2. 22-05-2025
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.71%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

Increase +0.01 pp

From 0.70% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Apache1 product
  • pulsarEOL< 2.7.5 | ≥ 2.8.0, < 2.8.4 | ≥ 2.9.0, < 2.9.3 | 2.10.0
Apache software foundation1 product
  • 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
Org.apache.pulsar1 product
  • pulsar-client< 2.7.5 | ≥ 2.8.0, < 2.8.4 | ≥ 2.9.0, < 2.9.3 | ≥ 2.10.0, < 2.10.1

3 vendors · 3 products

References

3 links