Vulnerabilities in pkg:maven/org.deeplearning4j/platform-tests
PACKAGECVE-2022-36022 is a MODERATE (CVSS 5.3) use of unclaimed s3 bucket vulnerability (CWE-330: Use of Insufficiently Random Values) affecting Platform tests libraries in the Maven ecosystem. The issue involves use of unclaimed s3 bucket in tests and examples. Remediation is available in the latest vendor maintenance releases.
pkg:maven/org.deeplearning4j/platform-tests
Vulnerability advisories affecting package pkg:maven/org.deeplearning4j/platform-tests. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rc39-g977-687w | CVE-2022-36022 | MODERATE | Use of unclaimed s3 bucket in tests and examples |
CVE-2022-36022 at a Glance
Security Impact
CVSS: 5.3
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:N).
How to Fix CVE-2022-36022
To remediate this vulnerability, upgrade all affected Platform tests 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.deeplearning4j</groupId>
<artifactId>platform-tests</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>org.deeplearning4j</groupId>
<artifactId>dl4j-examples</artifactId>
<version>Latest secure release</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.deeplearning4j
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2022-36022, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.deeplearning4j
Analyze the terminal output to locate any version of Platform tests in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.deeplearning4j 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-330: Use of Insufficiently Random Values, where the product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers. In Platform tests, 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-36022 Affected Platform tests Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.deeplearning4j:platform-tests
|
Maven |
≤ 1.0.0-M2.1
|
|
|
org.deeplearning4j:dl4j-examples
|
Maven |
≤ 1.0.0-M2.1
|
|
References
Frequently Asked Questions
What is CVE-2022-36022?
Which Platform tests versions are affected?
What version fixes CVE-2022-36022?
Is platform-tests affected?
Is dl4j-examples affected?
What is the CVSS score of CVE-2022-36022?
What CWE is associated with CVE-2022-36022?
How can I check Maven dependencies for CVE-2022-36022?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rc39-g977-687w",
"modified" : "2022-11-10T21:27:55Z",
"published" : "2022-11-10T21:27:55Z",
"aliases" : [ "CVE-2022-36022" ],
"summary" : "Use of unclaimed s3 bucket in tests and examples",
"details" : "### Impact\nPeople who use some older NLP examples that reference the old S3 bucket.\n\n### Patches\nThe problem has been patched. Upgrade to snapshots for now. A release will be published later to address this due to the vulnerability mostly being examples and 1 class in the actual code base.\n\n### Workarounds\nDownload a word2vec google news vector from a new source using git lfs ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.deeplearning4j:platform-tests"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0-M2.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.deeplearning4j:dl4j-examples"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.0-M2.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/deeplearning4j/deeplearning4j/security/advisories/GHSA-rc39-g977-687w"
}, {
"type" : "WEB",
"url" : "https://github.com/eclipse/deeplearning4j/security/advisories/GHSA-rc39-g977-687w"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-36022"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/deeplearning4j/deeplearning4j"
}, {
"type" : "WEB",
"url" : "https://github.com/mmihaltz/word2vec-GoogleNews-vectors"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-330", "CWE-344" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-10T21:27:55Z",
"nvd_published_at" : "2022-11-10T18:15:00Z"
}
}