~/talk

Unexpected Execution: Wild Ways Code Execution can Occur in Python

Talkat PyCon US 2021 · 2021-05-14..05-15· [security, python]
name:the_storm
links:none on file
slides:none on file

Title promises surprises and delivers specifics: concrete exploits, numbers, and fixes. Shows pickle deserialization creating exec payloads, input() in Python 2 evaluated via eval, import hijacks by writing modules or poisoning sys.path, and template RCEs via engines like Jinja calling subprocess.Popen. Demos live at github.com/gbleaney/python_security, CVE‑2021‑3177 and typing get_type_hints quirks appear, and Pysa/static analysis is the practical mitigation used to find and prevent these vectors.

AI-written summary · about

  1. 0:00Start
  2. 1:03Remote Command Execution
  3. 2:53Why Do You Care about Rce
  4. 6:13Demo
  5. 6:40Exploit Help
  6. 8:07Prevent Rce through Deserialization
  7. 8:31Input Function in Python
  8. 9:44The Exploit Generation
  9. 10:58Rpc Framework
  10. 17:01String Formatting
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.