Message106746
Loading a shelve can cause arbitrary code to be executed [1] and other black magic (because it's backed by Pickle). Shouldn't there be a big fat warning at the top of the shelve documentation page?
Unless you're like me and assume anything to do with serialization in any language is insecure until proved otherwise, you aren't going to intuitively think there is anything wrong with "unshelving" untrusted data (unless you already know that Pickle is insecure).
1. http://nadiana.com/python-pickle-insecure#comment-261 |
|
Date |
User |
Action |
Args |
2010-05-30 00:53:54 | Longpoke | set | recipients:
+ Longpoke, docs@python |
2010-05-30 00:53:53 | Longpoke | set | messageid: <1275180833.97.0.966181786946.issue8855@psf.upfronthosting.co.za> |
2010-05-30 00:53:51 | Longpoke | link | issue8855 messages |
2010-05-30 00:53:50 | Longpoke | create | |
|