CVE-2021-32836
JSON

7.5high

Pre-auth unsafe deserialization in ZStack

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
2.04% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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. For additional details see the referenced GHSL-2021-087.

Affected

Product or packageVersionsReported by
zstackio zstack< 3.10.12, >= 4.0.0, < 4.1.6CVE List
zstack zstackbefore 3.10.12, from 4.1.0 before 4.1.6NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:H
NVD8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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. For additional details see the referenced GHSL-2021-087.

NVD (es)

ZStack es un software IaaS(infraestructura como servicio) de código abierto. En ZStack versiones anteriores a 3.10.12 y 4.1.6 Se presenta una vulnerabilidad de deserialización no segura pre-autoria en la API REST. Un atacante que controle el cuerpo de la petición podrá proporcionar tanto el nombre de la clase como los datos a deserializar y, por tanto, podrá instanciar un tipo arbitrario y asignar valores arbitrario a sus campos. Este problema puede conllevar a una Denegación de Servicio. Si se dispone de un gadget adecuado, un atacante también puede ser capaz de explotar esta vulnerabilidad para conseguir una ejecución de código remota preautonómico. Para conseguir más detalles, consulte la referencia GHSL-2021-087

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32836 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-32836 changed 2026-06-17Public domain