CVE-2021-36163: Hessian protocol configuration vulnerability in Apache Dubbo

org.apache.dubbo:dubbo Updated 02 Oct 2025

Summary

08/09/2021
Yes i
Critical
9.8

CVE-2021-36163: Hessian protocol configuration vulnerability in Apache Dubbo. Affects org.apache.dubbo:dubbo across 2 version ranges.

< 2.6.10.1 >= 2.7.0, < 2.7.13

Fixed in 2.6.10.1 or 2.7.13, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Dubbo is an open-source, high-performance, and lightweight Java RPC framework. It provides a distributed architecture for building scalable and efficient applications. The Hessian protocol is one of the supported protocols in Dubbo, implemented on top of HTTP. It allows the passing of the body of a POST request directly to a HessianSkeleton. However, a configuration vulnerability exists in the Hessian protocol implementation in Apache Dubbo.

Vulnerability Detail

The Hessian protocol implementation in Apache Dubbo suffers from a configuration vulnerability. When creating a new HessianSkeleton, the serialization factory is not configured, and the dubbo properties for applying allowed or blocked type lists are not applied. This allows attackers to bypass type restrictions and access the generic service without needing to know a valid service/method name pair. This vulnerability can lead to unauthorized access, data manipulation, and potential remote code execution.

How To Fix

Latest published version: 3.3.6 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.6.10.1 2.6.10.1
  • >= 2.7.0, < 2.7.13 2.7.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If upgrading to a fixed version is not immediately feasible, a possible workaround is to disable the Hessian protocol and use alternative protocols that are not affected by this vulnerability. This can be achieved by modifying the Dubbo configuration to remove the Hessian protocol configuration.

Conclusion

The Hessian protocol configuration vulnerability in Apache Dubbo can lead to unauthorized access, data manipulation, and potential remote code execution. It is crucial to upgrade to the fixed versions (2.7.13 or 2.6.10.1) or disable the Hessian protocol as a workaround. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.apache.dubbo:dubbo →

Share this vulnerability

FAQ

Apache Dubbo is an open-source Java RPC framework that provides a distributed architecture for building scalable and efficient applications.

The Hessian protocol is a binary protocol for remote procedure calls (RPC) over HTTP. It allows the serialization and deserialization of objects between clients and servers.

This vulnerability allows attackers to bypass type restrictions and access the generic service without needing to know a valid service/method name pair. It can lead to unauthorized access, data manipulation, and potential remote code execution.

To fix this vulnerability, upgrade your Apache Dubbo dependency to version 2.7.13 or 2.6.10.1. These versions include the necessary fixes to properly configure the serialization factory and apply the allowed or blocked type lists.

Yes, if upgrading to a fixed version is not immediately feasible, you can disable the Hessian protocol and use alternative protocols that are not affected by this vulnerability. Modify the Dubbo configuration to remove the Hessian protocol configuration.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.dubbo:dubbo.

How To Fix

Latest published version: 3.3.6 as of 22 Oct 2026

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.6.10.1 2.6.10.1
  • >= 2.7.0, < 2.7.13 2.7.13

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback