HIGH 8.8

CVE-2021-36162

Remote Code Execution in Apache Dubbo

Description

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

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.apache.dubbo » dubbo
< 2.7.13>= 3.0.0, < 3.0.2
2.7.13, 3.0.2

Blast radius

1affected artifacts
18affected versions
251dependent artifacts (est.)
3,599dependent versions

70% of the dependent artifacts (177) still pull an affected version in their latest release.

DepthDependent versions
Direct
1,654
2 hops
760
3 hops
357
4 hops
306
5 hops
160
6 hops
362

Most used dependents

Computed from the dependency graph of build 20261125.2201 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.