Cyber Posture

CVE-2024-9701

N/A

Published: 20 March 2025

Published
20 March 2025
Modified
15 April 2026
KEV Added
Patch
CVSS Score N/A
EPSS Score 0.0614 90.9th percentile
Risk Priority 4 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may abuse Python commands and scripts for execution.

Security Summary

CVE-2024-9701 is a remote code execution (RCE) vulnerability in the Kedro ShelveStore class, specifically version 0.19.8. The flaw stems from the class's use of Python's shelve module, which relies on pickle for serialization and deserialization of session data. An attacker can craft a malicious payload that, when stored in the shelve file and subsequently deserialized, executes arbitrary Python code, as classified under CWE-502 (Deserialization of Untrusted Data).

The vulnerability can be exploited by any attacker with the ability to write a malicious payload to a shelve file used by a Kedro application employing the ShelveStore class. Upon deserialization of the payload during normal application operations, the attacker achieves RCE, potentially resulting in full system compromise depending on the application's privileges and environment.

Mitigation details are provided in the Kedro project's GitHub commit at https://github.com/kedro-org/kedro/commit/d79fa51de55ac0ccb58cce1a482df1b445f0fe7c, which addresses the issue, and further information including the bounty report is available at https://huntr.com/bounties/96c77fef-93b2-4d4d-8cbe-57a718d8eea5. Security practitioners should update to a patched version of Kedro beyond 0.19.8 and review applications using ShelveStore for exposure.

Details

CWE(s)
CWE-502

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.006 Python Execution
Adversaries may abuse Python commands and scripts for execution.
Why these techniques?

RCE via Python pickle deserialization in ShelveStore directly enables exploitation of public-facing apps (T1190) and arbitrary Python code execution (T1059.006).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

References