Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make pickles secure #7

Open
michwill opened this issue Dec 10, 2015 · 0 comments
Open

Make pickles secure #7

michwill opened this issue Dec 10, 2015 · 0 comments

Comments

@michwill
Copy link
Contributor

ZODB on which we base uses Python pickles which are known to be insecure in terms of arbitrary code execution (and jsonpickle doesn't help). We could be affected by this problem if multiple users are allowed to write to the same database and one of them is compromised.

We will switch to some other object serialization for now, but according to @jimfulton, a quick workaround exist:

This bit is a bit overblown since this can be locked down, which ZODB does some.
There's a storage implementation somewhere that allows you to specify
a globals whitelist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant