{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32836 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2021-32836 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-32836 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-32836 in the wild and no public exploit code.\n\nAffected product: zstackio zstack. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-32836/ (Markdown: https://insights.sbomify.com/CVE-2021-32836/index.md)","id":"CVE-2021-32836","markdown":"https://insights.sbomify.com/CVE-2021-32836/index.md","name":"CVE-2021-32836","record":{"aliases":["GHSA-gpj5-98pq-4552"],"analysis":{"component_type":"cloud_service","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"ZStack IaaS","requires_auth":"none","summary":"Pre-auth unsafe deserialization in ZStack REST API allows attackers to cause denial of service or potentially execute arbitrary code.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zstack","vendor":"zstack"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Pre-auth unsafe deserialization in ZStack","id":"CVE-2021-32836","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"deserialization","year":"2021"},"n_packages":0,"n_references":2,"next":{"headline":"mechanize vulnerable to ReDoS","id":"CVE-2021-32837"},"packages":[],"prev":{"headline":"Groovy Sandbox escape in Eclipse Keti","id":"CVE-2021-32835"},"products":["zstack"],"published":"2021-09-09","related":[{"cvss_score":8.8,"headline":"Information disclosure in n/a","id":"CVE-2023-46326","kev_date_added":null,"published":"2023-11-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["zstackio"]},"summary":"Pre-auth unsafe deserialization in ZStack REST API allows attackers to cause denial of service or potentially execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2021-32836/"}