CVE-2024-6960: H2o core H2O Vulnerable To Deserialization Of Vulnerability
HIGHCVE-2024-6960 is a HIGH (CVSS 7.5) h2o vulnerable to deserialization of vulnerability (CWE-502: Deserialization of Untrusted Data) affecting H2o core libraries in the Maven ecosystem. The issue involves h2o vulnerable to deserialization of untrusted data. Remediation is available in the latest vendor maintenance releases.
CVE-2024-6960 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H).
How to Fix CVE-2024-6960
To remediate this vulnerability, upgrade all affected H2o core 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>ai.h2o</groupId>
<artifactId>h2o-core</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=ai.h2o
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-6960, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=ai.h2o
Analyze the terminal output to locate any version of H2o core 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=ai.h2o 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In H2o core, 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-2024-6960 Affected H2o core Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
ai.h2o:h2o-core
|
Maven |
≤ 3.46.0.4
|
|
References
Frequently Asked Questions
What is CVE-2024-6960?
Which H2o core versions are affected?
What version fixes CVE-2024-6960?
Is h2o-core affected?
What is the CVSS score of CVE-2024-6960?
What CWE is associated with CVE-2024-6960?
How can I check Maven dependencies for CVE-2024-6960?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-w36w-948j-xhfw",
"modified" : "2024-11-25T19:28:45Z",
"published" : "2024-07-21T12:30:48Z",
"aliases" : [ "CVE-2024-6960" ],
"summary" : "H2O vulnerable to Deserialization of Untrusted Data",
"details" : "The H2O machine learning platform uses \"Iced\" classes as the primary means of moving Java Objects around the cluster. The Iced format supports inclusion of serialized Java objects. When a model is deserialized, any class is allowed to be deserialized (no class whitelist). An attacker can construct a crafted Iced model that uses Java gadgets and leads to arbitrary code execution when imported to the H2O platform.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "ai.h2o:h2o-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "3.46.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6960"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/h2oai/h2o-3"
}, {
"type" : "WEB",
"url" : "https://mvnrepository.com/artifact/ai.h2o/h2o-core"
}, {
"type" : "WEB",
"url" : "https://research.jfrog.com/vulnerabilities/h2o-model-deserialization-rce-jfsa-2024-001035518"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-07-22T14:42:24Z",
"nvd_published_at" : "2024-07-21T10:15:04Z"
}
}