CVE-2021-47952
python-jsonpickle: python-jsonpickle: Arbitrary Code Execution via Malicious JSON Deserialization
Severity by source
Trivy's own label is CRITICAL. Rated critical by Red Hat.
Description
python jsonpickle 2.0.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary Python commands by deserializing malicious JSON payloads containing py/repr objects. Attackers can craft JSON strings with py/repr directives that invoke the eval function during deserialization to execute arbitrary code.
Affected packages and fixed versions
No package source lists this ID.
References
- https://access.redhat.com/security/cve/CVE-2021-47952
- https://bugzilla.redhat.com/show_bug.cgi?id=2478170
- https://github.com/jsonpickle/jsonpickle
- https://jsonpickle.github.io
- https://nvd.nist.gov/vuln/detail/CVE-2021-47952
- https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json
- https://www.cve.org/CVERecord?id=CVE-2021-47952
- https://www.exploit-db.com/exploits/49585