SCA: security update for org.apache.pulsar:pulsar-client (GHSA-c5fp-x2h5-vjv7)

medium Tenable Self-Hosted Container Security Plugin ID 413678

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-33681)

See Also

https://github.com/advisories/GHSA-c5fp-x2h5-vjv7

Plugin Details

Severity: Medium

ID: 413678

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2022-33681

CVSS v3

Risk Factor: Medium

Base Score: 5.9

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 9/25/2022

Vulnerability Publication Date: 9/23/2022

Reference Information

CVE: CVE-2022-33681

cwe: CWE-295