Vulnerabilities in pkg:maven/org.eclipse.californium/scandium
PACKAGECVE-2022-39368 is a HIGH (CVSS 8.2) failing dtls handshakes may cause vulnerability (CWE-404: Improper Resource Shutdown or Release) affecting Scandium libraries in the Maven ecosystem. The issue involves failing dtls handshakes may cause throttling to block processing of records. Remediation is available by upgrading affected packages to version 3.7.0, 2.7.4.
pkg:maven/org.eclipse.californium/scandium
Vulnerability advisories affecting package pkg:maven/org.eclipse.californium/scandium. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-p72g-cgh9-ghjg | CVE-2022-39368 | HIGH | Failing DTLS handshakes may cause throttling to block processing of records |
CVE-2022-39368 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H).
How to Fix CVE-2022-39368
To remediate this vulnerability, upgrade all affected Scandium 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.eclipse.californium</groupId>
<artifactId>scandium</artifactId>
<version>3.7.0</version>
</dependency>
<dependency>
<groupId>org.eclipse.californium</groupId>
<artifactId>scandium</artifactId>
<version>2.7.4</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.eclipse.californium
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-39368, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.eclipse.californium
Analyze the terminal output to locate any version of Scandium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.7.0), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.eclipse.californium 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-404: Improper Resource Shutdown or Release, where the product does not release or incorrectly releases a resource before it is made available for re-use. In Scandium, 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-39368 Affected Scandium Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.eclipse.californium:scandium
|
Maven |
≥ 3.0.0
< 3.7.0
|
3.7.0
|
|
org.eclipse.californium:scandium
|
Maven |
≥ 2.7.0
< 2.7.4
|
2.7.4
|
References
Frequently Asked Questions
What is CVE-2022-39368?
Which Scandium versions are affected?
What version fixes CVE-2022-39368?
Is scandium affected?
What is the CVSS score of CVE-2022-39368?
What CWE is associated with CVE-2022-39368?
How can I check Maven dependencies for CVE-2022-39368?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p72g-cgh9-ghjg",
"modified" : "2022-11-18T06:15:49Z",
"published" : "2022-11-09T17:20:03Z",
"aliases" : [ "CVE-2022-39368" ],
"summary" : "Failing DTLS handshakes may cause throttling to block processing of records",
"details" : "### Impact\n\nFailing handshakes didn't cleanup counters for throttling. In consequence the threshold may get reached and will not be released again. The results in permanently dropping records. The issues was reported for certificate based handshakes, but it can't be excluded, that this happens also for PSK based handshakes. It generally affects client and server as well.\n\n### Patches\n\nmain: commit 726bac57659410da463dcf404b3e79a7312ac0b9 \n2.7.x: commit 5648a0c27c2c2667c98419254557a14bac2b1f3f\n\nUsers are requested to update to 3.7.0. If Californium 2 support is required, users are requested to update to 2.7.4. \n\n### Workarounds\nnone.\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.californium:scandium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.7.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.eclipse.californium:scandium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/eclipse-californium/californium/security/advisories/GHSA-p72g-cgh9-ghjg"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-39368"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-californium/californium/issues/2065"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-californium/californium/commit/5648a0c27c2c2667c98419254557a14bac2b1f3f"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse-californium/californium/commit/726bac57659410da463dcf404b3e79a7312ac0b9"
}, {
"type" : "WEB",
"url" : "https://cwe.mitre.org/data/definitions/452.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/eclipse-californium/californium"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-404" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-09T17:20:03Z",
"nvd_published_at" : "2022-11-10T00:15:00Z"
}
}