Remote Code Execution (RCE) Affecting org.apache.dubbo:dubbo-cluster package, versions [3.0.0,3.0.2) [2.7.0,2.7.13)


0.0
high

Snyk CVSS

    Attack Complexity Low
    Privileges Required High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.17% (53rd percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JAVA-ORGAPACHEDUBBO-1582906
  • published 7 Sep 2021
  • disclosed 7 Sep 2021
  • credit Alvaro Munoz

How to fix?

Upgrade org.apache.dubbo:dubbo-cluster to version 3.0.2, 2.7.13 or higher.

Overview

org.apache.dubbo:dubbo-cluster is an Apache Dubbo is a high-performance, java based, open source RPC framework.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). Apache Dubbo supports various rules to support configuration override or traffic routing. These rules are loaded into the configuration center 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 will be able to poison the rule so, when retrieved by the consumers, it will trigger remote code execution.