by cratermoon · 4y ago · 0 comments
> Why would I do that?
If you pickle data from an untrusted source, say a web form submission and then later unpickle it. See https://cwe.mitre.org/data/definitions/502.html
That is not exactly right. The risk is when you unpickle data that was pickled by someone else or that was tampered with after you pickled it.