Skip to main content

CVE-2021-43297 — Deserialization of Untrusted Data in...

CRITICAL

Deserialization of Untrusted Data in Dubbo

Published January 12, 2022Updated November 8, 2023Source: OSV

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.

Check my pom.xml

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.

Maven
Update org.apache.dubbo:dubbo to 2.7.15 or later
<!-- Update pom.xml dependency version to 2.7.15 for org.apache.dubbo:dubbo -->
Maven
Update org.apache.dubbo:dubbo to 3.0.5 or later
<!-- Update pom.xml dependency version to 3.0.5 for org.apache.dubbo:dubbo -->
Maven
Update org.apache.dubbo:dubbo to 2.6.12 or later
<!-- 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).

PackageFixed 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 versions2.6.12

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
17.43%
EPSS percentile: 97.7

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

GHSA-vp5x-3v8r-qprw

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml