CVE-2021-30179: apache software foundation apache dubbo Deserialization of Untrusted Data
Vulnerability summary
CVE-2021-30179 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in apache software foundation apache dubbo. EPSS estimates a 4.08% chance of exploitation in the next 30 days, higher than 90.5% of scored vulnerabilities.
Timeline
- 31-05-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
4.08%
Chance of exploitation in the next 30 days
Percentile
91%
Versus all other CVEs
30-day change
0.00 pp
From 4.08% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Apache1 product
- dubbo≥ 2.5.0, ≤ 2.5.10 | ≥ 2.6.0, < 2.6.9 | ≥ 2.7.0, < 2.7.10
Apache software foundation1 product
- apache dubbo≥ Apache Dubbo 2.7.x, < 2.7.9 | ≥ Apache Dubbo 2.6.x, < 2.6.9
Com.alibaba1 product
- dubbo≥ 2.5.0, < 2.6.9
Org.apache.dubbo1 product
- dubbo≥ 2.5.0, < 2.7.10
4 vendors · 4 products