CVE-2021-36161
Remote Code Execution in Apache Dubbo
Description
Some component in Dubbo will try to print the formated string of the input arguments, which will possibly cause RCE for a maliciously customized bean with special toString method. In the latest version, we fix the toString call in timeout, cache and some other places. Fixed in Apache Dubbo 2.7.13
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.dubbo » dubbo | < 2.7.13 | 2.7.13 |
Blast radius
70% of the dependent artifacts (176) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,641 |
| 2 hops | 758 |
| 3 hops | 357 |
| 4 hops | 306 |
| 5 hops | 160 |
| 6 hops | 362 |
Most used dependents
- org.apache.dubbo » dubbo-spring-boot-starter156 usages
- org.noear » solon-cloud59 usages
- io.seata » seata-all51 usages
- com.alibaba.cloud » spring-cloud-starter-dubbo24 usages
- org.apache.dubbo » dubbo-spring-boot-actuator19 usages
- com.fizzgate » fizz-spring-boot-starter14 usages
- com.yomahub » tlog-all-spring-boot-starter13 usages
- org.test4j » test4j-junit512 usages
- com.wuyushuo » spring-fusion12 usages
- com.llmrix » orion-hermes9 usages
- org.apache.dubbo » dubbo-spring-boot-autoconfigure9 usages
- com.wuyushuo » spring-visual9 usages
- com.llmrix » orion-fusion8 usages
- org.test4j » test4j-core6 usages
- io.github.shuigedeng » taotao-boot-starter-logger5 usages
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.
References
| Advisory | NVD CVE-2021-36161 | nvd.nist.gov |
| Package | apache/dubbo | github.com |
| Web | thread.html/r40212261fd5d638074b65f22ac73eebe93ace310c79d4cfcca4863da@<dev.dubbo.apache.or ... | lists.apache.org |
