{"id":"CVE-2020-11995","aliases":["CVE-2020-11995","GHSA-74mg-6xqx-2vrq"],"related":[],"kind":"vulnerability","state":"published","title":"Apache Dubbo default deserialization protocol Hessian2 cause CRE","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","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 HashMap 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se detectó vulnerabilidad de deserialización en dubbo versiones 2.7.5 y anteriores, que podría conllevar a una ejecución de código malicioso.&#xa0;La mayoría de usuarios de Dubbo usan Hessian2 como el protocolo de serialización y deserialización predeterminado, mientras Hessian2 deserializa el objeto HashMap, algunas funciones en el almacenado de clases en HasMap serán ejecutadas después de una serie de llamadas al programa, sin embargo, esas funciones especiales pueden causar una ejecución remota de comandos.&#xa0;Por ejemplo, la función hashCode() de la clase EqualsBean en rome-1.7.0.jar hará que las clases maliciosas cargen remotamente y ejecuten código malicioso al construir una petición maliciosa.&#xa0;Este problema fue corregido en Apache Dubbo versiones 2.6.9 y 2.7.8","source":"nvd"}],"published":"2021-01-11T09:40:19.000Z","modified":"2026-06-17T02:51:13.017Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"type":"custom","introduced":"Apache Dubbo","fixed":"2.6.9","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Dubbo","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.7.0","status":"affected","fixed":"2.7.8"}],"ecosystem":"Maven","package":"org.apache.dubbo:dubbo-parent","purl":"pkg:maven/org.apache.dubbo/dubbo-parent","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.9"}],"ecosystem":"Maven","package":"org.apache.dubbo:dubbo-parent","purl":"pkg:maven/org.apache.dubbo/dubbo-parent","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.5.0","lastAffected":"2.5.10"},{"status":"affected","introduced":"2.6.0","lastAffected":"2.6.8"},{"status":"affected","introduced":"2.7.0","lastAffected":"2.7.7"}],"vendor":"apache","product":"dubbo","cpe":"cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread.html/r5b2df4ef479209dc4ced457b3d58a887763b60b9354c3dc148b2eb5b%40%3Cdev.dubbo.apache.org%3E","tags":["mailing-list","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11995","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/dubbo/commit/d2e9baf380108950c48e0ab700ccdbf11dd753ab","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"apache","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-11995","url":"https://www.cve.org/CVERecord?id=CVE-2020-11995","licence":"CVE Terms of Use","modified":"2025-02-13T16:27:27.063Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-74mg-6xqx-2vrq","url":"https://github.com/advisories/GHSA-74mg-6xqx-2vrq","licence":"CC-BY-4.0","modified":"2023-11-08T04:02:09.098Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-11995","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-11995","licence":"Public domain","modified":"2026-06-17T02:51:13.017Z"}],"updatedAt":"2026-11-25T22:57:56.964Z","epss":{"score":0.05926,"percentile":0.93418,"date":"2026-12-02T12:00:21.000Z"}}