This affects the package pwntools before 4.3.1. The shellcraft generator for affected versions of this module are vulnerable to Server-Side Template Injection (SSTI), which can lead to remote code execution.
"https://github.com/pypa/advisory-database/blob/main/vulns/pwntools/PYSEC-2021-72.yaml"