{"id":"CVE-2020-11995","published":"2021-01-11T09:40:19Z","modified":"2025-02-13T16:27:27Z","title":"Apache Dubbo default deserialization protocol Hessian2 cause CRE","vendor":"Apache","product":"Apache Dubbo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.05926,"percentile":0.93427,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E","tags":["x_refsource_MISC"]}],"priority":{"score":18.7,"factors":[{"name":"EPSS percentile","points":18.69}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":[">= Apache Dubbo, < 2.6.9"]}],"fixedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":["2.7.8"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.dubbo:dubbo-parent","vulnerableRanges":[">=2.7.0, <2.7.8","<2.6.9"],"patched":["2.7.8","2.6.9"],"from":["GHSA-74mg-6xqx-2vrq"],"provenance":"source"}],"summary":{"text":"Apache Dubbo 2.7.5 and earlier versions have a deserialization flaw in the default Hessian2 serialization/deserialization protocol, where deserializing a HashMap can trigger functions in contained classes, such as the hashCode() method of the EqualsBean class in rome-1.7.0.jar. An attacker can exploit this by sending a crafted request that causes remote loading and execution of malicious code.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:06:29Z"},"euvd":{"id":"EUVD-2022-0880","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-11995","published":"2021-01-11","fixed":"2.7.8","kev":false},{"cve":"CVE-2021-32824","published":"2023-01-03","fixed":"2.7.10","kev":false,"link":{"from":"CVE-2020-11995","to":"CVE-2021-32824","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.dubbo:dubbo-parent","fromFixed":"2.6.9","toFixed":"2.6.10","daysApart":722}]}}],"package":"Maven:org.apache.dubbo:dubbo-parent"}}