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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

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 Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEDUBBO-1582906
  • published7 Sept 2021
  • disclosed7 Sept 2021
  • creditAlvaro Munoz

Introduced: 7 Sep 2021

CVE-2021-36162  (opens in a new tab)
CWE-94  (opens in a new tab)

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.

CVSS Scores

version 3.1