CVE-2021-32836 – Pre-auth unsafe deserialization in ZStack
https://notcve.org/view.php?id=CVE-2021-32836
ZStack is open source IaaS(infrastructure as a service) software. In ZStack before versions 3.10.12 and 4.1.6 there is a pre-auth unsafe deserialization vulnerability in the REST API. An attacker in control of the request body will be able to provide both the class name and the data to be deserialized and therefore will be able to instantiate an arbitrary type and assign arbitrary values to its fields. This issue may lead to a Denial Of Service. If a suitable gadget is available, then an attacker may also be able to exploit this vulnerability to gain pre-auth remote code execution. • https://github.com/zstackio/zstack/security/advisories/GHSA-jfvq-548h-342x https://securitylab.github.com/advisories/GHSL-2021-087-zstack • CWE-94: Improper Control of Generation of Code ('Code Injection') CWE-502: Deserialization of Untrusted Data •