CVE-2021-32836: ZStack - Insecure Deserialization
- Cve: CVE-2021-32836
- Name: ZStack - Insecure Deserialization
- 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.
- Impact: Attackers can cause denial of service or potentially execute arbitrary code remotely, leading to system compromise.
- Remediation: Update to version 3.10.12 or 4.1.6, or later versions where the issue is fixed.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: denial_of_service, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.1
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02036
- Epss percentile: 0.81479
- Assignee: [email protected]
- Published at: 2021-09-09T02:15:15Z
- Age in days: 1902
- Modified at: 2026-06-17T03:53:43Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32836
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-94 | Improper Control of Generation of Code |
| CWE-502 | Deserialization of Untrusted Data |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://securitylab.github.com/advisories/GHSL-2021-087-zstack/ | nvd | 2021-09-09 |
References
| Url | Source | Tags |
|---|---|---|
| https://securitylab.github.com/advisories/GHSL-2021-087-zstack/ | nvd | Exploit, Third Party Advisory |
| https://github.com/zstackio/zstack/security/advisories/GHSA-jfvq-548h-342x | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zstack:zstack | >= 4.1.0, < 4.1.6; < 3.10.12 | no | nvd | /v1/products/zstack/zstack |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| zstackio/zstack | security_advisory | yes | /v1/repositories/zstackio/zstack |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-09-09
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts