ajenti / ajenti

Audit required: Use of pickle module BAN-B301
Security
Major
6 months ago4 years old
Pickle and modules that wrap it can be unsafe when used to deserialize untrusted data, possible security issue.
209
210    @classmethod
211    def deserialize(cls, data):
212        data = pickle.loads(base64.b64decode(data))213        self = cls(data['env'])
214        self.path = data['path']
215        self.headers = data['headers']