Loading...
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

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 (1734 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 2.6.12 or later
<!-- Update pom.xml dependency version to 2.6.12 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 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.dubbo:dubbo
maven
2.7.0, 2.7.1, 2.7.10, 2.7.11 (+12 more)2.7.15
org.apache.dubbo:dubbo
maven
All versions2.6.12
org.apache.dubbo:dubbo
maven
3.0.0, 3.0.0.preview, 3.0.1, 3.0.2 (+3 more)3.0.5

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. 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

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-vp5x-3v8r-qprw

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies