CVE-2021-43297 — Deserialization of Untrusted Data in...
Deserialization of Untrusted Data in Dubbo
What Should I Do?
Low-to-Moderate Risk
Exploitation probability is 17.43% in 30 days. Address in your next planned sprint.
Does your project use an affected org.apache.dubbo:dubbo version?
Paste your pom.xml to check it for CVE-2021-43297 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A deserialization vulnerability existed in dubbo hessian-lite 3.2.11 and its earlier versions, which could lead to malicious code execution. Most Dubbo users use Hessian2 as the default serialization/deserialization protocol, during Hessian catch unexpected exceptions, Hessian will log out some imformation for users, which may cause remote command execution. This issue affects Apache Dubbo Apache Dubbo 2.6.x versions prior to 2.6.12; Apache Dubbo 2.7.x versions prior to 2.7.15; Apache Dubbo 3.0.x versions prior to 3.0.5.
Advisory Timeline
- First published January 12, 2022 (1779 days ago).
- Last revised November 8, 2023 — 664 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.7.15 for org.apache.dubbo:dubbo -->
<!-- Update pom.xml dependency version to 3.0.5 for org.apache.dubbo:dubbo -->
<!-- Update pom.xml dependency version to 2.6.12 for org.apache.dubbo:dubbo -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.dubbo:dubbo Maven · Affected: 2.7.0, 2.7.1, 2.7.10, 2.7.11 (+12 more) | 2.7.15 |
| org.apache.dubbo:dubbo Maven · Affected: 3.0.0, 3.0.0.preview, 3.0.1, 3.0.2 (+3 more) | 3.0.5 |
| org.apache.dubbo:dubbo Maven · Affected: All versions | 2.6.12 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-502Deserialization of Untrusted DataMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2021-43297?
- Deserialization of Untrusted Data in Dubbo. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2021-43297?
- CVE-2021-43297 affects org.apache.dubbo:dubbo. It has a 17.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-43297 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 97.7% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2022-39198CRITICAL
Hessian Lite for Apache Dubbo deserialization vulnerability
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2023-29234CRITICAL
Bypass serialize checks in Apache Dubbo
- CVE-2023-23638CRITICAL
Apache Dubbo vulnerable to Deserialization of Untrusted Data
- CVE-2023-46279CRITICAL
Apache Dubbo: Bypass deny serialize list check in Apache Dubbo
- CVE-2021-32824CRITICAL
Apache Dubbo vulnerable to remote code execution via Telnet Handler
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host