CVE-2020-11995

Apache Dubbo default deserialization protocol Hessian2 cause CRE

State
Published
Severity
Not scored
Published
Jan 11, 2021
Updated
Feb 13, 2025
Reserved
Apr 21, 2020

Read the record on cve.org

Description

A deserialization vulnerability existed in dubbo 2.7.5 and its earlier versions, which could lead to malicious code execution. Most Dubbo users use Hessian2 as the default serialization/deserialization protool, during Hessian2 deserializing the HashMap object, some functions in the classes stored in HasMap will be executed after a series of program calls, however, those special functions may cause remote command execution. For example, the hashCode() function of the EqualsBean class in rome-1.7.0.jar will cause the remotely load malicious classes and execute malicious code by constructing a malicious request. This issue was fixed in Apache Dubbo 2.6.9 and 2.7.8.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Apache DubboApache Software Foundation
  • Apache Dubbo to before 2.6.9Affectedfrom 2.7.8Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.