Paper/Archive/CVE-2021-47952

CVE-2021-47952

Jsonpickle python jsonpickle — python jsonpickle 2.0.0 Remote Code Execution via py/repr

Description · from the CVE record

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

ProductAffectedFixed inSource
python jsonpickle2.0.0–CNA
Red Hat Ansible Automation Platform 2see advisory–redhat-SADP
Red Hat Ansible Automation Platform 2see advisory–redhat-SADP

Scores by source

redhat-SADP (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitexploit-db.com/exploits/49585refjsonpickle.github.iorefgithub.com/jsonpickle/jsonpicklewriteupvulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-reprrefaccess.redhat.com/security/cve/CVE-2021-47952refbugzilla.redhat.com/show_bug.cgi?id=2478170refsecurity.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json