Description
picklescan before 0.0.34 fails to detect the _operator.methodcaller built-in function when scanning pickle files for malicious code. Attackers can craft malicious pickle payloads using _operator.methodcaller that evade detection and execute arbitrary code when loaded by pickle.load().
Problem types
Deserialization of Untrusted Data
Product status
Any version before 0.0.34
0.0.34 (semver)
Credits
CoolwindHF
References
github.com/...lescan/security/advisories/GHSA-955r-x9j8-7rhh
github.com/...lescan/security/advisories/GHSA-955r-x9j8-7rhh (GitHub Security Advisory (GHSA-955r-x9j8-7rhh))
www.vulncheck.com/...ode-execution-via-operator-methodcaller (VulnCheck Advisory: picklescan - Undetected Remote Code Execution via _operator.methodcaller)