INCIDENT MAP

Browse / Unsafe Model Loading and Supply Chain / CVE-2024-6960

H2O vulnerable to Deserialization of Untrusted Data

CVE-2024-6960 ยท 2024-07-21 high

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
ai.h2o:h2o-core (Maven)
CVSS
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in 30 days

How it works, in short

A crafted Iced model file can embed Java objects, and the loader deserialises any class, so gadget chains run code on import. (Our summary, written by a model. The source text is below.)

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.

References

Source: GitHub Advisory Database, used under CC BY 4.0.