Home / Apache Software Foundation / Apache Dubbo / CVE-2021-30179
CVE-2021-30179: is it exploited, and which versions of Apache Software Foundation Apache Dubbo are affected and fixed?
CVE-2021-30179 is a deserialization of untrusted data vulnerability in Apache Software Foundation Apache Dubbo. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: org.apache.dubbo:dubbo from 2.5.0 before 2.7.10 and com.alibaba:dubbo from 2.5.0 before 2.6.9 (GitHub advisory GHSA-5mc7-m686-p6jg). Fixed in 2.7.10 and 2.6.9 (GitHub advisory GHSA-5mc7-m686-p6jg). Severity: Critical (9.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:57 UTC.
What is 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.
From the CVE record by apache, last updated August 3, 2024, 22:24 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 | 2.7.9, 2.6.9 |
As the CVE record by apache states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.dubbo:dubbo | >= 2.5.0, < 2.7.10 | 2.7.10 | GHSA-5mc7-m686-p6jg |
| Maven | com.alibaba:dubbo | >= 2.5.0, < 2.6.9 | 2.6.9 | GHSA-5mc7-m686-p6jg |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated March 18, 2022. Summary: Deserialization of Untrusted Data in Apache Dubbo.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | dubbo | from 2.5.0 through 2.5.10 | application |
| apache | dubbo | from 2.6.0 before 2.6.9 | application |
| apache | dubbo | from 2.7.0 before 2.7.10 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:49 UTC.
How severe is CVE-2021-30179?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-30179 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 4.08% probability of exploitation activity in the next 30 days, percentile 91.0 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-502 Deserialization of Untrusted Data
Where are the vendor advisories and references?
- https://lists.apache.org/thread.html/rccbcbdd6593e42ea3a1e8fedd12807cb111375c9c40edb005ef36f67%40%3Cdev.dubbo.apache.org%3E x_refsource_MISC
Who found and reported it?
- This issue was first reported by GitHub Security Lab (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 7, 2021
- Published
- May 31, 2021, 07:25 UTC
- CVE record updated
- August 3, 2024, 22:24 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 03:49 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:57 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Dubbo?
- Dec 15, 2023CVE-2023-46279 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Dec 15, 2023CVE-2023-29234 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Mar 8, 2023CVE-2023-23638 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Oct 18, 2022CVE-2022-39198 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Jun 6, 2022CVE-2022-24969 Apache Software Foundation Apache Dubbo: server-side request forgery (SSRF)
- Jan 10, 2022CVE-2021-43297 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Sep 9, 2021CVE-2021-37579 Apache Software Foundation Apache Dubbo: deserialization of untrusted data
- Sep 9, 2021CVE-2021-36161 Apache Software Foundation Apache Dubbo: format string flaw
Questions about CVE-2021-30179
Is CVE-2021-30179 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 4.08% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Apache Software Foundation Apache Dubbo are affected by CVE-2021-30179?
org.apache.dubbo:dubbo from 2.5.0 before 2.7.10 and com.alibaba:dubbo from 2.5.0 before 2.6.9, per the GitHub advisory GHSA-5mc7-m686-p6jg. The tables above give every range the sources list.
Which version fixes CVE-2021-30179?
2.7.10 and 2.6.9, per the GitHub advisory GHSA-5mc7-m686-p6jg. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-30179?
Critical (9.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-30179?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.