ESPectre
ESPectre: Unsafe Deserialization on .npz dataset leads to Code Execution
ESPectre is a Wi-Fi motion sensing platform for ESP32. Prior to 3.0.0-rc1, Micro-ESPectre analysis tools, including tools/6_optimize_filter_params.py, tools/1_analyze_raw_data.py, and tools/10_train_ml_model.py, load NPZ datasets with NumPy pickle support enabled through micro-espectre/tools/csi_utils.py and a direct loader. A malicious dataset contributor or pull-request author can place an object-typed array in a .npz file under micro-espectre/data, causing pickle-controlled code to execute as the maintainer or developer when a documented analysis tool accesses the field. This issue is fixed in version 3.0.0-rc1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 3.0.0-rc1
Fixed in 3.0.0-rc1
Mitigation
Upgrade espectre to 3.0.0-rc1 or later.
References
- Vendor advisory github.com/francescopace/espectre/security/adv…
- Patch github.com/francescopace/espectre/pull/154
- Patch github.com/francescopace/espectre/commit/adf49…
1 more
- Release notes github.com/francescopace/espectre/releases/tag…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.