CVE-2021-30181

published 29 May 2021 · updated 3 Aug 2024

Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

6.0MediumEPSS 61%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 61%. Fixed in 2.6.9 and 2.7.9.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Apache Software Foundation>=Apache Dubbo 2.6.x <2.6.9, >=Apache Dubbo 2.7.x <2.7.92.6.9, 2.7.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-30181 severity on Zeptric[![CVE-2021-30181](https://zeptric.io/badge/cve/CVE-2021-30181.svg)](https://zeptric.io/cve/CVE-2021-30181)