RCE in Jsonpickle Python
CVE-2021-47952
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.007, 53.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Jsonpickle Python — versions 2.0.0
Weakness classification (CWE)
References
- ExploitDB-49585 (exploit)
- Official Product Homepage (product)
- Product Reference (product)
- VulnCheck Advisory: python jsonpickle 2.0.0 Remote Code Execution via py/repr (third-party-advisory)
- access.redhat.com/security/cve/CVE-2021-47952
- bugzilla.redhat.com/show_bug.cgi
- security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json