Alex Willmer - Rehabilitating Pickle
Rehabilitating Pickle [EuroPython 2018 - Talk - 2018-07-27 - Smarkets] [Edinburgh, UK] By Alex Willmer Pickle is a compact serialisation protocol for Python objects. It could be a convenient way for Python programs and distributed systems to communicate. Unfortunately pickle is widely considered to be unsafe, and it has lead to several vulnerabilities over the years. As the Python manual warns The pickle module is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source. Does this have to be the case? Can we use Pickle safely? This talk will be a deep dive into what an attacker can do with a maliciously constructed pickles. I’ll show what defences you can implement against the common attacks, especially those that gain arbitrary code execution. I will present new research into other attacks, and mitigations. Finally I will review a few less known alternatives to pickle. This talk will expand on a https://www.youtube.com/watch?v=5omAT9sqguE&list=PLWsDEQH0HiPZUhtqGczfDnNdiJMhWpmWd&index=9&t=13m10s PyLondinium 2018 lightning talk License: This video is licensed under the CC BY-NC-SA 3.0 license: https://creativecommons.org/licenses/by-nc-sa/3.0/ Please see our speaker release agreement for details: https://ep2018.europython.eu/en/speaker-release-agreement/