9.8critical
Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 60.9% (higher than 99% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-qmfc-6www-fjqw
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
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache Dubbo | from Apache Dubbo 2.7.x before 2.7.9, from Apache Dubbo 2.6.x before 2.6.9 | CVE List |
| com.alibaba:dubbo (Maven) | from 2.5.0 before 2.6.9 | GitHub Advisory Database |
| org.apache.dubbo:dubbo (Maven) | from 2.5.0 before 2.7.10 | GitHub Advisory Database |
| apache dubbo | from 2.5.0 before 2.6.10, from 2.7.0 before 2.7.10 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Apache Dubbo versiones anteriores a 2.6.9 y 2.7.9, soporta el enrutamiento de Scripts que permitirá al cliente enrutar la petición al servidor correcto. Estas reglas son usadas por los clientes cuando realizan una petición para encontrar el endpoint correcto. Al analizar estas reglas, los clientes de Dubbo usan ScriptEngine y ejecutan la regla proporcionada por el script que por defecto, puede permitir una ejecución de código arbitrario
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30181 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qmfc-6www-fjqw changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-30181 changed 2026-06-17 | Public domain |