CVE-2021-47952
9.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| Jsonpickle | python jsonpickle | 2.0.0 | affected |
Weaknesses
- CWE-94: Improper Control of Generation of Code ('Code Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: yes
- Technical Impact: total
python-jsonpickle: python-jsonpickle: Arbitrary Code Execution via Malicious JSON Deserialization
Additional References
- https://access.redhat.com/security/cve/CVE-2021-47952
- https://bugzilla.redhat.com/show_bug.cgi?id=2478170
- https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json
References
- https://www.exploit-db.com/exploits/49585
- https://jsonpickle.github.io
- https://github.com/jsonpickle/jsonpickle
- https://www.vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.