CVE-2021-32836 Pre-auth unsafe deserialization in ZStack

High 7.5 Published Updated

Pre-auth unsafe deserialization in ZStack REST API allows attackers to cause denial of service or potentially execute arbitrary code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-32836?

CVE-2021-32836 is a high-severity unsafe deserialization vulnerability in zstackio zstack, published on 9 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-502, CWE-94

Which versions are affected by CVE-2021-32836?

It affects 1 product.

Products include Zstack Zstack.

How do I fix CVE-2021-32836?

No fix has been published for CVE-2021-32836 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2021-32836 being exploited?

There is no known exploitation of CVE-2021-32836 in the wild and no public exploit code.

Sources

Also known as GHSA-gpj5-98pq-4552.

Is CVE-2021-32836 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free