← CVE Intelligence

CVE-2021-47952

python jsonpickle 2.0.0 Remote Code Execution via py/repr PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Jsonpickle / python jsonpickleaffected 2.0.0

CWE

CWE-94

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

A flaw was found in python-jsonpickle. A remote attacker can exploit this vulnerability by crafting and sending malicious JSON payloads. When these payloads, which contain specially crafted py/repr objects, are deserialized, they can trigger the execution of arbitrary Python commands and system commands. This can lead to arbitrary code execution on the affected system.