zopefoundation / zodbpickle

Fork of Python's pickle module to work with ZODB
Other
17 stars 15 forks source link

DOC: Pickle is Unsafe #2

Closed westurner closed 6 years ago

westurner commented 11 years ago

From http://docs.python.org/2/library/pickle.html#pickle-python-object-serialization

Warning The pickle module is not intended to be secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.

Upon unserialization (.loads, .load), Python Pickles may execute arbitrary code.

Because of the warning in the Python documentation, this functionality of Pickle is not an:

References:

tseaver commented 11 years ago

I'm not sure what action you are requesting here.

westurner commented 11 years ago

It may be appropriate to link to the Python documentation regarding the utilization of Pickle.

mgedmin commented 7 years ago

I would happily approve a patch that adds this warning to zodbpickle's documentation (e.g. README.rst).