Security mailing lists by PureSourceCode

CVE-2022-33681

MEDIUM 5.9CVSS 3.1

Apache Pulsar Java Client vulnerable to Improper Certificate Validation

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.

Published
23 Sep 2022
Last modified
17 Jun 2026
Assigned by
security@apache.org
NVD status
Modified
Weakness
CWE-295
Also known as
GHSA-c5fp-x2h5-vjv7
Sources
NVDJSONOSV GHSA-c5fp-x2h5-vjv7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache pulsar
cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
< 2.7.5 2.7.5
NVD apache pulsar
cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
>= 2.8.0, < 2.8.4 2.8.4
NVD apache pulsar
cpe:2.3:a:apache:pulsar:*:*:*:*:*:*:*:*
>= 2.9.0, < 2.9.3 2.9.3
NVD apache pulsar
cpe:2.3:a:apache:pulsar:2.10.0:-:*:*:*:*:*:*
= 2.10.0
OSV Maven org.apache.pulsar:pulsar-client < 2.7.5 2.7.5
OSV Maven org.apache.pulsar:pulsar-client >= 2.8.0, < 2.8.4 2.8.4
OSV Maven org.apache.pulsar:pulsar-client >= 2.9.0, < 2.9.3 2.9.3
OSV Maven org.apache.pulsar:pulsar-client >= 2.10.0, < 2.10.1 2.10.1

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 23 Sep 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.