Vulnerabilities in pkg:maven/org.cometd.java/cometd-java-oort
PACKAGECVE-2022-24721 is a HIGH (CVSS 8.1) improper authorization vulnerability (CWE-863: Incorrect Authorization) affecting Cometd java oort libraries in the Maven ecosystem. The issue involves improper authorization in org.cometd.oort. Remediation is available by upgrading affected packages to version 5.0.11, 6.0.6, 7.0.6.
pkg:maven/org.cometd.java/cometd-java-oort
Vulnerability advisories affecting package pkg:maven/org.cometd.java/cometd-java-oort. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rjmq-6v55-4rjv | CVE-2022-24721 | HIGH | Improper Authorization in org.cometd.oort |
CVE-2022-24721 at a Glance
Security Impact
CVSS: 8.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2022-24721
To remediate this vulnerability, upgrade all affected Cometd java oort dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-oort</artifactId>
<version>5.0.11</version>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-oort</artifactId>
<version>6.0.6</version>
</dependency>
<dependency>
<groupId>org.cometd.java</groupId>
<artifactId>cometd-java-oort</artifactId>
<version>7.0.6</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.cometd.java
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-24721, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.cometd.java
Analyze the terminal output to locate any version of Cometd java oort in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.11), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.cometd.java command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Cometd java oort, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2022-24721 Affected Cometd java oort Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.cometd.java:cometd-java-oort
|
Maven |
< 5.0.11
|
5.0.11
|
|
org.cometd.java:cometd-java-oort
|
Maven |
≥ 6.0.0
< 6.0.6
|
6.0.6
|
|
org.cometd.java:cometd-java-oort
|
Maven |
≥ 7.0.0
< 7.0.6
|
7.0.6
|
References
Frequently Asked Questions
What is CVE-2022-24721?
Which Cometd java oort versions are affected?
What version fixes CVE-2022-24721?
Is cometd-java-oort affected?
What is the CVSS score of CVE-2022-24721?
What CWE is associated with CVE-2022-24721?
How can I check Maven dependencies for CVE-2022-24721?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rjmq-6v55-4rjv",
"modified" : "2022-03-15T19:02:36Z",
"published" : "2022-03-15T19:02:36Z",
"aliases" : [ "CVE-2022-24721" ],
"summary" : "Improper Authorization in org.cometd.oort",
"details" : "### Impact\nInternal usage of Oort and Seti channels is improperly authorized, so any remote user could subscribe and publish to those channels.\nBy subscribing to those channels, a remote user may be able to watch cluster-internal traffic that contains other user's (possibly sensitive) data.\nBy publishing to those channels, a remote user may be able to create/modify/delete other user's data and modify the cluster structure.\nThe issue impacts any version up to 5.0.10, 6.0.5 and 7.0.5.\n\n### Patches\nThe issue has been fixed in 5.0.11, 6.0.6 and 7.0.6.\n\n### Workarounds\nThe workaround is to install a custom `SecurityPolicy` that forbids subscription and publishing to remote, non-Oort, sessions on Oort and Seti channels.\nThis workaround could be implemented in any affected version.\n\n### References\ncometd/cometd#1146\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [security@webtide.com](mailto:security@webtide.com)\n\n### Credits\nhttps://www.redteam-pentesting.de/",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-oort"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "5.0.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-oort"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "6.0.0"
}, {
"fixed" : "6.0.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cometd.java:cometd-java-oort"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "7.0.0"
}, {
"fixed" : "7.0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/security/advisories/GHSA-rjmq-6v55-4rjv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24721"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/issues/1146"
}, {
"type" : "WEB",
"url" : "https://github.com/cometd/cometd/commit/bb445a143fbf320f17c62e340455cd74acfb5929"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cometd/cometd"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-03-15T19:02:36Z",
"nvd_published_at" : "2022-03-15T14:15:00Z"
}
}