{"answers":{"affected":"10 open source packages ship an affected version, including org.apache.pulsar:pulsar-broker. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-29834 in the wild and no public exploit code.","fix":"Upgrade org.apache.pulsar:pulsar-broker to a fixed version for your release line: 3.0.4 or 3.2.2.","what":"CVE-2024-29834 is a medium-severity missing authorization vulnerability in Apache Pulsar, published on 2 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-29834 and fix it if it is affected.\n\nWhat it is: CVE-2024-29834 is a medium-severity missing authorization vulnerability in Apache Pulsar, published on 2 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-29834 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.pulsar:pulsar-broker (Maven): affected from 2.11.0 up to 2.11.4; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 2.11.0 up to 2.11.4; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 2.7.1 up to 2.10.6; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 2.7.1 up to 2.10.6; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.0.0; fixed in 3.0.4\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.0.0; fixed in 3.0.4\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.1.0 up to 3.1.3; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.1.0 up to 3.1.3; no fix listed\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.2.0; fixed in 3.2.2\n- org.apache.pulsar:pulsar-broker (Maven): affected from 3.2.0; fixed in 3.2.2\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-2024-29834/ (Markdown: https://insights.sbomify.com/CVE-2024-29834/index.md)","id":"CVE-2024-29834","markdown":"https://insights.sbomify.com/CVE-2024-29834/index.md","name":"CVE-2024-29834","record":{"aliases":["GHSA-7mg2-6c6v-342r"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_modify","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Pulsar","requires_auth":"low_privilege","summary":"Authenticated users can perform unauthorized management operations and modify namespace properties due to improper authorization checks.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"pulsar","vendor":"apache"}],"cvss":{"score":6.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"This vulnerability allows authenticated users with produce or consume permissions to perform unauthorized operations on partitioned topics, such as unloading topics and triggering compaction. These management operations should be restricted to users with the tenant admin role or superuser role. An authenticated user with produce permission can create subscriptions and update subscription properties on partitioned topics, even though this should be limited to users with consume permissions. This impact analysis assumes that Pulsar has been configured with the default authorization provider. For custom authorization providers, the impact could be slightly different. Additionally, the vulnerability allows an authenticated user to read, create, modify, and delete namespace properties in any namespace in any tenant. In Pulsar, namespace properties are reserved for user provided metadata about the namespace.\n\nThis issue affects Apache Pulsar versions from 2.7.1 to 2.10.6, from 2.11.0 to 2.11.4, from 3.0.0 to 3.0.3, from 3.1.0 to 3.1.3, and from 3.2.0 to 3.2.1. \n\n3.0 Apache Pulsar users should upgrade to at least 3.0.4.\n3.1 and 3.2 Apache Pulsar users should upgrade to at least 3.2.2.\n\nUsers operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.","ecosystems":["Maven"],"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: Improper Authorization For Namespace and Topic Management Endpoints","id":"CVE-2024-29834","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":10,"n_references":3,"next":{"headline":"Broken Authentication on USER_CHANGE in Evolution Controller allows unauthenticated account creation and takeover","id":"CVE-2024-29836"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["2.11.0"],"last_affected":["2.11.4"],"package":"org.apache.pulsar:pulsar-broker","purl":null,"source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":[],"introduced":["2.11.0"],"last_affected":["2.11.4"],"package":"org.apache.pulsar:pulsar-broker","purl":"pkg:maven/org.apache.pulsar/pulsar-broker","source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":[],"introduced":["2.7.1"],"last_affected":["2.10.6"],"package":"org.apache.pulsar:pulsar-broker","purl":null,"source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":[],"introduced":["2.7.1"],"last_affected":["2.10.6"],"package":"org.apache.pulsar:pulsar-broker","purl":"pkg:maven/org.apache.pulsar/pulsar-broker","source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.pulsar:pulsar-broker","purl":null,"source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":["3.0.4"],"introduced":["3.0.0"],"last_affected":[],"package":"org.apache.pulsar:pulsar-broker","purl":"pkg:maven/org.apache.pulsar/pulsar-broker","source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.3"],"package":"org.apache.pulsar:pulsar-broker","purl":null,"source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.1.3"],"package":"org.apache.pulsar:pulsar-broker","purl":"pkg:maven/org.apache.pulsar/pulsar-broker","source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":["3.2.2"],"introduced":["3.2.0"],"last_affected":[],"package":"org.apache.pulsar:pulsar-broker","purl":null,"source":"GHSA-7mg2-6c6v-342r"},{"ecosystem":"Maven","fixed":["3.2.2"],"introduced":["3.2.0"],"last_affected":[],"package":"org.apache.pulsar:pulsar-broker","purl":"pkg:maven/org.apache.pulsar/pulsar-broker","source":"GHSA-7mg2-6c6v-342r"}],"prev":{"headline":"WordPress Photo Gallery Plugin \u003c= 1.8.21 Stored Cross Site Scripting in UploadHandler","id":"CVE-2024-29833"},"products":["Apache Pulsar"],"published":"2024-04-02","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":"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":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Apache Software Foundation"]},"summary":"Authenticated users can perform unauthorized management operations and modify namespace properties due to improper authorization checks.","url":"https://insights.sbomify.com/CVE-2024-29834/"}