{"id":"CVE-2021-36162","published":"2021-09-07T09:25:10Z","modified":"2024-08-04T00:47:43Z","title":"Unprotected yaml deserialization cause RCE","vendor":"Apache","product":"Apache Dubbo","tier":"tail","description":{"text":"Apache Dubbo supports various rules to support configuration override or traffic routing (called routing in Dubbo). These rules are loaded into the configuration center (eg: Zookeeper, Nacos, ...) and retrieved by the customers when making a request in order to find the right endpoint. When parsing these YAML rules, Dubbo customers will use SnakeYAML library to load the rules which by default will enable calling arbitrary constructors. An attacker with access to the configuration center he will be able to poison the rule so when retrieved by the consumers, it will get RCE on all of them. This was fixed in Dubbo 2.7.13, 3.0.2","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02261,"percentile":0.83414,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread.html/rfa351115a459e214b99ffcc52c35f33359f3370c547d9c6ba1a60037%40%3Cdev.dubbo.apache.org%3E","tags":["x_refsource_MISC"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":16.68}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Dubbo","versions":[">= Apache Dubbo 2.7.x, <= 2.7.12",">= Apache Dubbo 3.0.x, <= 3.0.1"]}],"affected":[{"ecosystem":"Maven","package":"org.apache.dubbo:dubbo","vulnerableRanges":["<2.7.13",">=3.0.0, <3.0.2"],"patched":["2.7.13","3.0.2"],"from":["GHSA-r577-4hq7-73qh"],"provenance":"source"}],"summary":{"text":"Apache Dubbo's routing and configuration-override rules, which are parsed with the SnakeYAML library, are vulnerable to unsafe deserialization because arbitrary YAML constructors are enabled by default. An attacker who can write to the configuration center (such as Zookeeper or Nacos) can poison a rule so that Dubbo consumers retrieving it execute arbitrary code on their hosts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:33:50Z"},"euvd":{"id":"EUVD-2021-2105","exploited":false,"provenance":"source"}}