CVE-2024-6960 H2O deserializes ML models without filtering, potentially allowing execution of malicious code
Attackers can achieve arbitrary code execution by importing crafted ML models due to unsafe Java deserialization in the H2O platform.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-6960?
CVE-2024-6960 is a high-severity unsafe deserialization vulnerability in ai.h2o:h2o-core, published on 21 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-502
Which versions are affected by CVE-2024-6960?
2 open source packages ship an affected version, including ai.h2o:h2o-core.
| Package | Affected | Fixed in |
|---|---|---|
ai.h2o:h2o-core Maven | All versions to 3.46.0.4 | None |
ai.h2o:h2o-core Maven | All versions to 3.46.0.4 | None |
How do I fix CVE-2024-6960?
No fix has been published for CVE-2024-6960 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-6960 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6960 exists.
Sources
Also known as GHSA-w36w-948j-xhfw.