INCIDENT MAP

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

Kedro deserialization vulnerability

CVE-2024-9701 ยท 2025-03-20 critical

Class
Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
Technique
Unsafe deserialisation
Affected
kedro (PyPI)
CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% chance of exploitation in 30 days

How it works, in short

A crafted shelve file contains a pickle payload that runs Python code when Kedro's ShelveStore reads the stored session data. (Our summary, written by a model. The source text is below.)

Details

A Remote Code Execution (RCE) vulnerability has been identified in the Kedro ShelveStore class (version 0.19.8). This vulnerability allows an attacker to execute arbitrary Python code via deserialization of malicious payloads, potentially leading to a full system compromise. The ShelveStore class uses Python's shelve module to manage session data, which relies on pickle for serialization. Crafting a malicious payload and storing it in the shelve file can lead to RCE when the payload is deserialized.

References

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