Description
picklescan before 0.0.25 fails to detect malicious pickle files that use timeit.timeit() in the __reduce__ method, allowing remote code execution. Attackers can craft pickle files that import dangerous libraries like os and execute arbitrary system commands, which evade picklescan detection and execute when pickle.load() is called.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| picklescan | picklescan | < 0.0.25 | 0.0.25 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | picklescan | < 0.0.25 | 0.0.25 | GHSA-v7x6-rv5q-mhwc |
References
- GitHub Security Advisory (GHSA-v7x6-rv5q-mhwc) vendor-advisory
- VulnCheck Advisory: picklescan - Remote Code Execution via timeit.timeit() Detection Bypass third-party-advisory