—
PYSEC-2020-49
Quick fix
PYSEC-2020-49 — jsonpickle: upgrade to the fixed version with the command below.
pip install --upgrade 'jsonpickle>=1.4.2'Details
** DISPUTED ** jsonpickle through 1.4.1 allows remote code execution during deserialization of a malicious payload through the decode() function. Note: It has been argued that this is expected and clearly documented behaviour. pickle is known to be capable of causing arbitrary code execution, and must not be used with un-trusted data.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://gist.github.com/j0lt-github/bb543e77a1a10c33cb56cf23d0837874[WEB]
- https://github.com/jsonpickle/jsonpickle/issues/332[REPORT]
- https://github.com/j0lt-github/python-deserialization-attack-payload-generator[WEB]
- https://versprite.com/blog/application-security/into-the-jar-jsonpickle-exploitation/[ARTICLE]
- https://access.redhat.com/security/cve/CVE-2020-22083[WEB]
- https://github.com/jsonpickle/jsonpickle/issues/332#issuecomment-747807494[REPORT]
- https://github.com/advisories/GHSA-j66q-qmrc-89rx[ADVISORY]