CVE-2021-30181Apache Dubbo
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Dubbo We alert you by email or Slack (account required).
- Priority
- 80
- CVSS 3.1
- 9.8
- EPSS
- 60.9% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Jun 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Dubbo.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.alibaba:dubbo |
≥ 2.5.0 < 2.6.9 |
2.6.9 |
— |
| Maven | org.apache.dubbo:dubbo |
≥ 2.5.0 < 2.7.10 |
2.7.10 |
— |
Per OSV / GitHub Advisories (GHSA-qmfc-6www-fjqw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | dubbo | ≥ 2.5.0 < 2.6.10 |
| apache | dubbo | ≥ 2.7.0 < 2.7.10 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Mailing List Vendor Advisory