Skip to content

Apache Pulsar Broker, Proxy, and WebSocket Proxy vulnerable to Improper Certificate Validation

Moderate severity GitHub Reviewed Published Sep 25, 2022 to the GitHub Advisory Database • Updated Jan 28, 2023

Package

maven org.apache.pulsar:pulsar-broker (Maven)

Affected versions

< 2.7.5
>= 2.8.0, < 2.8.4
>= 2.9.0, < 2.9.3
= 2.10.0

Patched versions

2.7.5
2.8.4
2.9.3
2.10.1
maven org.apache.pulsar:pulsar-proxy (Maven)
< 2.7.5
>= 2.8.0, < 2.8.4
>= 2.9.0, < 2.9.3
= 2.10.0
2.7.5
2.8.4
2.9.3
2.10.1

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.

References

Published by the National Vulnerability Database Sep 23, 2022
Published to the GitHub Advisory Database Sep 25, 2022
Reviewed Sep 30, 2022
Last updated Jan 28, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.045%
(17th percentile)

Weaknesses

CVE ID

CVE-2022-33682

GHSA ID

GHSA-jvf3-mfxv-jcqr

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.