CVE-2020-22083
python-jsonpickle: deserialization of a malicious payload in the decode function can lead to RCE
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | jsonpickle | no fix listed |
| debian 11 | jsonpickle | no fix listed |
| debian 12 | jsonpickle | no fix listed |
| debian 13 | jsonpickle | no fix listed |
| debian 14 | jsonpickle | no fix listed |
| echo | jsonpickle | no fix listed |
| rapidfort debian 12 | jsonpickle | no fix listed |
| rapidfort debian 13 | jsonpickle | no fix listed |
References
- https://access.redhat.com/security/cve/CVE-2020-22083
- https://gist.github.com/j0lt-github/bb543e77a1a10c33cb56cf23d0837874
- https://github.com/j0lt-github/python-deserialization-attack-payload-generator
- https://github.com/jsonpickle/jsonpickle
- https://github.com/jsonpickle/jsonpickle/issues/332
- https://github.com/jsonpickle/jsonpickle/issues/332#issuecomment-747807494
- https://github.com/jsonpickle/jsonpickle/issues/335
- https://github.com/pypa/advisory-database/tree/main/vulns/jsonpickle/PYSEC-2020-49.yaml