You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.
The pickle module is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.
The settings loading use pickle.load method
https://github.com/firstlookmedia/autocanary/blob/master/autocanary/settings.py#L61
which from the documentation:
https://docs.python.org/3/library/pickle.html
more information about how it can be exploited:
https://lincolnloop.com/blog/playing-pickle-security/
thus it will be better to use JSON instead for storing and loading the settings (to avoid the code injection security issue)
The text was updated successfully, but these errors were encountered: