{"id":"CVE-2020-11995","state":"PUBLISHED","title":"Apache Dubbo default deserialization protocol Hessian2 cause CRE","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.","publishedAt":"2021-01-11T09:40:19.000Z","updatedAt":"2025-02-13T16:27:27.063Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Dubbo"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":[{"version":"Apache Dubbo","status":"affected","lessThan":"2.6.9","changes":[{"at":"2.7.8","status":"unaffected"}],"versionType":"custom"}]}],"references":["https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E"],"weaknesses":["CWE-502"],"ingestedAt":"2026-10-29T19:46:24.834Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2020/11xxx/CVE-2020-11995.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2020-11995","state":"PUBLISHED","datePublished":"2021-01-11T09:40:19.000Z","dateUpdated":"2025-02-13T16:27:27.063Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2020-04-21T00:00:00.000Z"},"containers":{"cna":{"title":"Apache Dubbo default deserialization protocol Hessian2 cause CRE","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":[{"version":"Apache Dubbo","status":"affected","lessThan":"2.6.9","changes":[{"at":"2.7.8","status":"unaffected"}],"versionType":"custom"}]}],"references":[{"url":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E","tags":["x_refsource_MISC"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-502","description":"CWE-502 Deserialization of Untrusted Data","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2024-08-04T11:49:56.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2020-11995","STATE":"PUBLIC","TITLE":"Apache Dubbo default deserialization protocol Hessian2 cause CRE"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Dubbo","version":{"version_data":[{"version_affected":"<","version_name":"Apache Dubbo","version_value":"2.6.9"},{"version_affected":"<","version_name":"Apache Dubbo","version_value":"2.7.8"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-502 Deserialization of Untrusted Data"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E","refsource":"MISC","url":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E"}]},"source":{"discovery":"UNKNOWN"}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T11:48:57.070Z"}}]}}}