{"answers":{"affected":"6 open source packages ship an affected version, including org.cometd.java:cometd-java-oort. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-24721 in the wild and no public exploit code.","fix":"Upgrade org.cometd.java:cometd-java-oort to a fixed version for your release line: 5.0.11, 6.0.6 or 7.0.6.","what":"CVE-2022-24721 is a high-severity missing authorization vulnerability in cometd, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-24721 and fix it if it is affected.\n\nWhat it is: CVE-2022-24721 is a high-severity missing authorization vulnerability in cometd, published on 15 Mar 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-24721 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.cometd.java:cometd-java-oort (Maven): affected all versions; fixed in 5.0.11\n- org.cometd.java:cometd-java-oort (Maven): affected all versions; fixed in 5.0.11\n- org.cometd.java:cometd-java-oort (Maven): affected from 6.0.0; fixed in 6.0.6\n- org.cometd.java:cometd-java-oort (Maven): affected from 6.0.0; fixed in 6.0.6\n- org.cometd.java:cometd-java-oort (Maven): affected from 7.0.0; fixed in 7.0.6\n- org.cometd.java:cometd-java-oort (Maven): affected from 7.0.0; fixed in 7.0.6\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-24721/ (Markdown: https://insights.sbomify.com/CVE-2022-24721/index.md)","id":"CVE-2022-24721","markdown":"https://insights.sbomify.com/CVE-2022-24721/index.md","name":"CVE-2022-24721","record":{"aliases":["GHSA-rjmq-6v55-4rjv"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CometD Java library","requires_auth":"low_privilege","summary":"Remote attackers can subscribe to internal channels to read sensitive data or publish to modify user data and cluster structure in CometD.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"cometd","vendor":"cometd"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"CometD is a scalable comet implementation for web messaging. In any version prior to 5.0.11, 6.0.6, and 7.0.6, internal usage of Oort and Seti channels is improperly authorized, so any remote user could subscribe and publish to those channels. By subscribing to those channels, a remote user may be able to watch cluster-internal traffic that contains other users' (possibly sensitive) data. By publishing to those channels, a remote user may be able to create/modify/delete other user's data and modify the cluster structure. A fix is available in versions 5.0.11, 6.0.6, and 7.0.6. As a workaround, install a custom `SecurityPolicy` that forbids subscription and publishing to remote, non-Oort, sessions on Oort and Seti channels.","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":"Incorrect Authorization in org.cometd.oort","id":"CVE-2022-24721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"missing_authorization","year":"2022"},"n_packages":6,"n_references":2,"next":{"headline":"Cross-site Scripting in view_component","id":"CVE-2022-24722"},"packages":[{"ecosystem":"Maven","fixed":["5.0.11"],"introduced":["0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":null,"source":"GHSA-rjmq-6v55-4rjv"},{"ecosystem":"Maven","fixed":["5.0.11"],"introduced":["0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":"pkg:maven/org.cometd.java/cometd-java-oort","source":"GHSA-rjmq-6v55-4rjv"},{"ecosystem":"Maven","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":null,"source":"GHSA-rjmq-6v55-4rjv"},{"ecosystem":"Maven","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":"pkg:maven/org.cometd.java/cometd-java-oort","source":"GHSA-rjmq-6v55-4rjv"},{"ecosystem":"Maven","fixed":["7.0.6"],"introduced":["7.0.0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":null,"source":"GHSA-rjmq-6v55-4rjv"},{"ecosystem":"Maven","fixed":["7.0.6"],"introduced":["7.0.0"],"last_affected":[],"package":"org.cometd.java:cometd-java-oort","purl":"pkg:maven/org.cometd.java/cometd-java-oort","source":"GHSA-rjmq-6v55-4rjv"}],"prev":{"headline":"Improper Input Validation in image_processing","id":"CVE-2022-24720"},"products":["cometd"],"published":"2022-03-15","related":[],"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":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["cometd"]},"summary":"Remote attackers can subscribe to internal channels to read sensitive data or publish to modify user data and cluster structure in CometD.","url":"https://insights.sbomify.com/CVE-2022-24721/"}