ADVISORIES

GitHub Advisory Database

GHSA-qmfc-6www-fjqw

Code injection in Apache Dubbo

Critical CVE-2021-30181

Details

Apache Dubbo prior to 2.6.9 and 2.7.10 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 packages

EcosystemPackageAffected versions
Mavencom.alibaba:dubbo
From 2.5.0 before 2.6.9 (fixed in 2.6.9)
Mavenorg.apache.dubbo:dubbo
From 2.5.0 before 2.7.10 (fixed in 2.7.10)

References