What’s Vulnerable › Vulnerabilities

CVE-2021-30181: Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

Description

Apache Dubbo prior to 2.6.9 and 2.7.9 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.

Affected products

How to fix

Upgrade to a fixed version: Apache Software Foundation Apache Dubbo 2.6.10, 2.7.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-30181 or the next vulnerability affects your stack