Why security experts consider the use of pickle in python a vulnerability? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why security experts consider the use of pickle in python a vulnerability?

Pickle is very helpful, so I would like to know how to use it safely or if there's another way instead of the pickle module that does the same job.

20th May 2018, 2:19 AM
Osamah Mohammed Al-Haddad
Osamah Mohammed Al-Haddad - avatar
2 Answers
+ 1
Hello! Here's great explanation in docs https://docs.python.org/3/library/pickle.html Also check their example https://github.com/python/cpython/blob/3.6/Lib/pickle.py
22nd May 2018, 1:54 PM
dev.Y
dev.Y - avatar
0
Thanks a whole lot, that was helpful
22nd May 2018, 2:17 PM
Osamah Mohammed Al-Haddad
Osamah Mohammed Al-Haddad - avatar