Description
picklescan before 0.0.30 fails to detect cProfile.runctx function calls in pickle file reduce methods, allowing attackers to execute arbitrary code. Malicious pickle files bypass picklescan detection and execute remote code when loaded via pickle.load().
Problem types
Deserialization of Untrusted Data
Product status
Any version before 0.0.30
0.0.30 (semver)
Credits
FredericDT
References
github.com/...lescan/security/advisories/GHSA-9w88-8rmg-7g2p
github.com/...lescan/security/advisories/GHSA-9w88-8rmg-7g2p (GHSA Advisory GHSA-9w88-8rmg-7g2p)
www.vulncheck.com/...etected-cprofile-runctx-in-pickle-files (VulnCheck Advisory: picklescan - Remote Code Execution via Undetected cProfile.runctx in Pickle Files)