CVE-2021-30181
CRITICAL 9.8CVSS 3.1Code injection in Apache Dubbo
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.
- Published
- 1 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-94
- Also known as
- GHSA-qmfc-6www-fjqw
- Sources
- NVDJSONOSV GHSA-qmfc-6www-fjqwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | dubbocpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:* |
>= 2.5.0, < 2.6.10 | 2.6.10 |
| NVD | apache | dubbocpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.10 | 2.7.10 |
| OSV | Maven | com.alibaba:dubbo | >= 2.5.0, < 2.6.9 | 2.6.9 |
| OSV | Maven | org.apache.dubbo:dubbo | >= 2.5.0, < 2.7.10 | 2.7.10 |
References
- https://lists.apache.org/thread.html/re22410dc704a09bc7032ddf15140cf5e7df3e8ece390fc9032ff5587%40%3Cdev.dubbo.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-30181 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 1 Jun 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 Mar 2022)