Description
picklescan before 0.0.28 fails to detect malicious torch.fx.experimental.symbolic_shapes.ShapeEnv.evaluate_guards_expression function calls in pickle files. Attackers can embed undetected code in pickle files that executes remote code when loaded by victims.
Problem types
Deserialization of Untrusted Data
Product status
Any version before 0.0.28
0.0.28 (semver)
Credits
FredericDT
References
github.com/...lescan/security/advisories/GHSA-f4x7-rfwp-v3xw
github.com/...lescan/security/advisories/GHSA-f4x7-rfwp-v3xw (GitHub Security Advisory (GHSA-f4x7-rfwp-v3xw))
www.vulncheck.com/...pes-shapeenv-evaluate-guards-expression (VulnCheck Advisory: picklescan - Arbitrary Code Execution via torch.fx.experimental.symbolic_shapes.ShapeEnv.evaluate_guards_expression)