LiveActive security incident?Get immediate response
CVE Record

CVE-2021-30181: Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Apache Dubbo clients before 2.6.9 and 2.7.9 could execute code while processing Script routing rules. If an attacker can influence those routing rules, a normal service lookup path can become a code-execution path on the consuming application.

Executive priority

Treat this as a priority remediation for Dubbo environments because it can turn service-routing data into remote code execution on applications.

Technical view

Dubbo Script routing uses ScriptEngine to parse routing rules. The source states this default behavior may execute arbitrary code when a crafted rule is processed by Dubbo consumers. Affected lines are Apache Dubbo 2.6.x and 2.7.x before 2.6.9 and 2.7.9.

Likely exposure

Exposure is most likely where Apache Dubbo 2.6.x or 2.7.x consumers use Script routing and consume routing rules from a source an attacker could modify or poison.

Exploitation context

The source bundle does not cite CISA KEV or active exploitation. Exploitability depends on the attacker's ability to influence Script routing rules consumed by Dubbo clients.

Researcher notes

Evidence is limited to the CVE description and Apache reference. No CVSS, CWE, affected CPEs, exploit status, or detailed vendor mitigation beyond version boundaries is provided in the bundle.

Mitigation direction

  • Upgrade vulnerable Apache Dubbo deployments to 2.6.9, 2.7.9, or a supported later version.
  • Review Apache Dubbo vendor guidance for deployment-specific remediation details.
  • Audit Script routing usage and remove untrusted or unnecessary script-based routing rules.
  • Restrict who can create or modify routing rules in Dubbo-related control sources.

Validation and detection

  • Inventory Apache Dubbo versions and identify any 2.6.x or 2.7.x deployments below fixed versions.
  • Confirm whether Dubbo consumers use Script routing in production paths.
  • Review routing rule sources for unauthorized, unexpected, or recently changed script rules.
  • Verify access controls around systems that publish or manage Dubbo routing rules.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-30181 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Apache Software FoundationApache DubboApache Dubbo 2.7.x, Apache Dubbo 2.6.xListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.