CVE-2021-47952
python jsonpickle 2.0.0 contains a remote code execution …
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 system commands and arbitrary code.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jsonpickle/jsonpickle
- jsonpickle.github.io
- www.exploit-db.com/exploits/49585
- www.vulncheck.com/advisories/python-jsonpickle-remote-code-execution-via-py-repr
- access.redhat.com/security/cve/CVE-2021-47952
- bugzilla.redhat.com/show_bug.cgi?id=2478170
- security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-47952.json
- nvd.nist.gov/vuln/detail/CVE-2021-47952
- cve.org/CVERecord?id=CVE-2021-47952
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.