News for hackers. Stuff that matters.
Re:Dear Flask, Please Fix Your “Secure” Cookies by NelsonMinar on Friday August 10, 2012 @09:57PM (#4369138)
No Python program should ever try to unpickle data from an untrusted source.
Re:Dear Flask, Please Fix Your “Secure” Cookies by alxv on Friday August 10, 2012 @11:48PM (#4369364)
There is a way to harden pickle to protect it against the most basic exploits: http://docs.python.org/py3k/library/pickle.html#restricting-...

It is not a complete solution, as an attacker could still DoS your service by making pickle allocate a huge amount of memory, but at least that's better than allowing arbitrary code execution.

Re:Dear Flask, Please Fix Your “Secure” Cookies by nezza-_- on Friday August 10, 2012 @10:00PM (#4369149)
It's signed, so the integrity is ensured as long as the secret key stays secret.
Re:Dear Flask, Please Fix Your “Secure” Cookies by slurgfest on Saturday August 11, 2012 @06:45PM (#4371209)
There was never any good reason to use pickle for this, though..