{"answers":{"affected":"9 open source packages ship an affected version, including pulsar-client. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-33684 in the wild and no public exploit code.","fix":"Upgrade pulsar-client to a fixed version for your release line: 2.7.5, 2.8.4, 2.9.3 or 2.10.2.","what":"CVE-2022-33684 is a high-severity vulnerability in Apache Pulsar, published on 4 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-33684 and fix it if it is affected.\n\nWhat it is: CVE-2022-33684 is a high-severity vulnerability in Apache Pulsar, published on 4 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-33684 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pulsar-client (PyPI): affected all versions; fixed in 2.7.5, 2.8.4, 2.9.3, 2.10.2\n- pulsar-client (PyPI): affected all versions; fixed in 2.7.5\n- pulsar-client (PyPI): affected all versions; fixed in 2.7.5\n- pulsar-client (PyPI): affected from 2.10.0; fixed in 2.10.2\n- pulsar-client (PyPI): affected from 2.10.0; fixed in 2.10.2\n- pulsar-client (PyPI): affected from 2.8.0; fixed in 2.8.4\n- pulsar-client (PyPI): affected from 2.8.0; fixed in 2.8.4\n- pulsar-client (PyPI): affected from 2.9.0; fixed in 2.9.3\n- pulsar-client (PyPI): affected from 2.9.0; fixed in 2.9.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-33684/ (Markdown: https://insights.sbomify.com/CVE-2022-33684/index.md)","id":"CVE-2022-33684","markdown":"https://insights.sbomify.com/CVE-2022-33684/index.md","name":"CVE-2022-33684","record":{"aliases":["GHSA-5r3h-c3r7-9w4h","PYSEC-2026-901"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Pulsar client","requires_auth":"none","summary":"Attackers can intercept OAuth credentials via MITM due to disabled TLS validation in Pulsar C++/Python clients, enabling unauthorized cluster access.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pulsar","vendor":"apache"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"description":"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. 2.7 C++ and Python Client users should upgrade to 2.7.5 and rotate vulnerable OAuth2.0 credentials. 2.8 C++ and Python Client users should upgrade to 2.8.4 and rotate vulnerable OAuth2.0 credentials. 2.9 C++ and Python Client users should upgrade to 2.9.3 and rotate vulnerable OAuth2.0 credentials. 2.10 C++ and Python Client users should upgrade to 2.10.2 and rotate vulnerable OAuth2.0 credentials. 3.0 C++ users are unaffected and 3.0 Python Client users will be unaffected when it is released. Any users running the C++ and Python Client for 2.6 or less should upgrade to one of the above patched versions.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Apache Pulsar Disabled Certificate Validation for OAuth Client Credential Requests makes C++/Python Clients vulnerable to MITM attack","id":"CVE-2022-33684","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2022"},"n_packages":9,"n_references":2,"next":{"headline":"Missing authorization in Samsung Mobile Devices","id":"CVE-2022-33685"},"packages":[{"ecosystem":"PyPI","fixed":["2.7.5","2.8.4","2.9.3","2.10.2"],"introduced":["0","2.8.0","2.9.0","2.10.0"],"last_affected":[],"package":"pulsar-client","purl":"pkg:pypi/pulsar-client","source":"PYSEC-2026-901"},{"ecosystem":"PyPI","fixed":["2.7.5"],"introduced":["0"],"last_affected":[],"package":"pulsar-client","purl":null,"source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.7.5"],"introduced":["0"],"last_affected":[],"package":"pulsar-client","purl":"pkg:pypi/pulsar-client","source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.10.2"],"introduced":["2.10.0"],"last_affected":[],"package":"pulsar-client","purl":null,"source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.10.2"],"introduced":["2.10.0"],"last_affected":[],"package":"pulsar-client","purl":"pkg:pypi/pulsar-client","source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["2.8.0"],"last_affected":[],"package":"pulsar-client","purl":null,"source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.8.4"],"introduced":["2.8.0"],"last_affected":[],"package":"pulsar-client","purl":"pkg:pypi/pulsar-client","source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"pulsar-client","purl":null,"source":"GHSA-5r3h-c3r7-9w4h"},{"ecosystem":"PyPI","fixed":["2.9.3"],"introduced":["2.9.0"],"last_affected":[],"package":"pulsar-client","purl":"pkg:pypi/pulsar-client","source":"GHSA-5r3h-c3r7-9w4h"}],"prev":{"headline":"Disabled Certificate Validation makes Broker, Proxy Admin Clients vulnerable to MITM attack","id":"CVE-2022-33683"},"products":["Apache Pulsar"],"published":"2022-11-04","related":[{"cvss_score":9.8,"headline":"Authentication with JWT allows use of “none”-algorithm","id":"CVE-2021-22160","kev_date_added":null,"published":"2021-05-26"},{"cvss_score":9.6,"headline":"Apache Pulsar: Incorrect Authorization for Function Worker when using mTLS Authentication through Pulsar Proxy","id":"CVE-2023-30429","kev_date_added":null,"published":"2023-07-12"},{"cvss_score":8.5,"headline":"Apache Pulsar: Improper Input Validation in Pulsar Function Worker allows Remote Code Execution","id":"CVE-2024-27135","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":8.5,"headline":"Apache Pulsar: Pulsar Functions Worker Allows Unauthorized File Access and Unauthorized HTTP/HTTPS Proxying","id":"CVE-2024-27894","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":8.4,"headline":"Apache Pulsar: Pulsar Functions Worker's Archive Extraction Vulnerability Allows Unauthorized File Modification","id":"CVE-2024-27317","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":8.2,"headline":"Apache Pulsar: Improper Authentication for Pulsar Proxy Statistics Endpoint","id":"CVE-2022-34321","kev_date_added":null,"published":"2024-03-12"},{"cvss_score":8.2,"headline":"Apache Pulsar Broker: Incorrect Authorization Validation for Rest Producer","id":"CVE-2023-30428","kev_date_added":null,"published":"2023-07-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-02","vendors":["Apache Software Foundation"]},"summary":"Attackers can intercept OAuth credentials via MITM due to disabled TLS validation in Pulsar C++/Python clients, enabling unauthorized cluster access.","url":"https://insights.sbomify.com/CVE-2022-33684/"}