Weakness
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.
References
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f4x7-rfwp-v3xw
- https://www.vulncheck.com/advisories/picklescan-arbitrary-code-execution-via-torch-fx-experimental-symbolic-shapes-shapeenv-evaluate-guards-expression
- https://github.com/mmaitre314/picklescan/security/advisories/GHSA-f4x7-rfwp-v3xw
Find the bug before an attacker does.
Sign in with GitHub and run your first audit in under a minute. The free plan needs no credit card.