// For flags

CVE-2021-32836

Pre-auth unsafe deserialization in ZStack

Severity Score

8.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

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

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
High
Attack Vector
Network
Attack Complexity
Medium
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2021-05-12 CVE Reserved
  • 2021-09-09 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-08-03 First Exploit
  • 2024-08-15 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
  • CWE-502: Deserialization of Untrusted Data
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Zstack
Search vendor "Zstack"
Zstack
Search vendor "Zstack" for product "Zstack"
< 3.10.12
Search vendor "Zstack" for product "Zstack" and version " < 3.10.12"
-
Affected
Zstack
Search vendor "Zstack"
Zstack
Search vendor "Zstack" for product "Zstack"
>= 4.1.0 < 4.1.6
Search vendor "Zstack" for product "Zstack" and version " >= 4.1.0 < 4.1.6"
-
Affected