Description
picklescan before 0.0.33 fails to block the ctypes module, allowing attackers to achieve remote code execution by invoking direct syscalls and accessing raw memory. Attackers can craft malicious pickle files using ctypes.WinDLL to load kernel32.dll and execute arbitrary commands, bypassing sandbox protections and gadget chain detection.
Problem types
Incomplete List of Disallowed Inputs
Product status
Any version before 0.0.33
0.0.33 (semver)
Credits
0x-Apollyon
References
github.com/...lescan/security/advisories/GHSA-4675-36f9-wf6r
github.com/...lescan/security/advisories/GHSA-4675-36f9-wf6r (GHSA Advisory GHSA-4675-36f9-wf6r)
www.vulncheck.com/...e-execution-via-unblocked-ctypes-module (VulnCheck Advisory: picklescan - Remote Code Execution via Unblocked ctypes Module)