LiveActive security incident?Get immediate response
CVE Record

CVE-2021-30179: Apache Dubbo Pre-auth RCE via Java deserialization in the Generic filter

Apache Dubbo prior to 2.6.9 and 2.7.9 by default supports generic calls to arbitrary methods exposed by provider interfaces. These invocations are handled by the GenericFilter which will find the service and method specified in the first arguments of the invocation and use the Java Reflection API to make the final call. The signature for the $invoke or $invokeAsync methods is Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object; where the first argument is the name of the method to invoke, the second one is an array with the parameter types for the method being invoked and the third one is an array with the actual call arguments. In addition, the caller also needs to set an RPC attachment specifying that the call is a generic call and how to decode the arguments. The possible values are: - true - raw.return - nativejava - bean - protobuf-json An attacker can control this RPC attachment and set it to nativejava to force the java deserialization of the byte array located in the third argument.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Apache Dubbo deployments using affected 2.6.x or 2.7.x versions can be exposed to unauthenticated remote code execution. The issue involves generic RPC calls that can force Java deserialization of attacker-controlled data. This is business-relevant where Dubbo provider services are reachable by untrusted networks.

Executive priority

Prioritize remediation for internet-exposed or partner-reachable Dubbo services. The vulnerability is pre-auth RCE in affected versions, but the provided sources do not confirm active exploitation.

Technical view

Before Dubbo 2.6.9 and 2.7.9, GenericFilter handled generic $invoke and $invokeAsync calls using method names, parameter types, and arguments supplied in the invocation. An attacker can set the generic RPC attachment to nativejava, causing Java deserialization of bytes carried in the call arguments.

Likely exposure

Most relevant exposure is Apache Dubbo provider services on 2.6.x or 2.7.x before 2.6.9 or 2.7.9, especially if RPC endpoints are reachable beyond trusted service boundaries.

Exploitation context

The source bundle describes pre-auth remote code execution potential through Java deserialization. It does not include CVSS scoring, proof of active exploitation, or KEV listing. Treat exploitation status as unconfirmed from the provided evidence.

Researcher notes

Key primitive is attacker control of the generic RPC attachment value, specifically nativejava, combined with GenericFilter processing of $invoke or $invokeAsync arguments. Evidence is limited to the CVE description and Apache mailing-list reference.

Mitigation direction

  • Upgrade affected Dubbo 2.6.x deployments to 2.6.9 or later per Apache guidance.
  • Upgrade affected Dubbo 2.7.x deployments to 2.7.9 or later per Apache guidance.
  • Restrict Dubbo provider access to trusted networks and service identities.
  • Review Apache Dubbo advisories for any configuration-specific mitigation guidance.

Validation and detection

  • Inventory applications and services using Apache Dubbo 2.6.x or 2.7.x.
  • Confirm deployed Dubbo versions are 2.6.9, 2.7.9, or later.
  • Identify Dubbo provider endpoints reachable from untrusted networks.
  • Review Dubbo configuration for generic call exposure and nativejava deserialization handling.
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-30179 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.