pulsar-client
Affected
- introduced
0, fixed2.7.5(ecosystem)
Fixed versions
2.7.5
Fix
- Fixed version
2.7.5pip install --upgrade pulsar-client==2.7.5
Advisory
Also known as: CVE-2022-33684, PYSEC-2026-901
Apache Pulsar Disabled Certificate Validation for OAuth Client Credential Requests makes C++/Python Clients vulnerable to MITM attack
The Apache Pulsar C++ Client does not verify peer TLS certificates when making HTTPS calls for the OAuth2.0 Client Credential Flow, even when tlsAllowInsecureConnection is disabled via configuration. This vulnerability allows an attacker to perform a man in the middle attack and intercept and/or modify the GET request that is sent to the ClientCredentialFlow "issuer url". The intercepted credentials can be used to acquire authentication data from the OAuth2.0 server to then authenticate with an Apache Pulsar cluster. 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. The Apache Pulsar Python Client wraps the C++ client, so it is also vulnerable in the same way.
This issue affects Apache Pulsar C++ Client and Python 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 to 2.10.1; 2.6.4 and earlier.
Any users running affected versions of the C++ Client or the Python Client should rotate vulnerable OAuth2.0 credentials, including client_id and client_secret.
High Basis: The source's own band: HIGH
0, fixed 2.7.5 (ecosystem)2.7.5
2.7.5pip install --upgrade pulsar-client==2.7.52.8.0, fixed 2.8.4 (ecosystem)2.8.4
2.8.4pip install --upgrade pulsar-client==2.8.42.9.0, fixed 2.9.3 (ecosystem)2.9.3
2.9.3pip install --upgrade pulsar-client==2.9.32.10.0, fixed 2.10.2 (ecosystem)2.10.2
2.10.2pip install --upgrade pulsar-client==2.10.2Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0