CVE-2020-1948 Deserialization of Untrusted Data in Apache Dubbo
Attackers can execute arbitrary code by sending malicious RPC requests with crafted parameters to vulnerable Dubbo services.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-1948?
CVE-2020-1948 is a critical unsafe deserialization vulnerability in Apache Dubbo, published on 14 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
This vulnerability can affect all Dubbo users stay on version 2.7.6 or lower. An attacker can send RPC requests with unrecognized service name or method name along with some malicious parameter payloads. When the malicious parameter is deserialized, it will execute some malicious code. More details can be found below.
Weakness: CWE-502
Which versions are affected by CVE-2020-1948?
4 open source packages ship an affected version, including org.apache.dubbo:dubbo and org.apache.dubbo:dubbo-common. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.dubbo:dubbo Maven | All versions | 2.7.7 |
org.apache.dubbo:dubbo Maven | All versions | 2.7.7 |
org.apache.dubbo:dubbo-common Maven | All versions | 2.7.7 |
org.apache.dubbo:dubbo-common Maven | All versions | 2.7.7 |
Products include Apache Dubbo.
How do I fix CVE-2020-1948?
Upgrade org.apache.dubbo:dubbo to 2.7.7 or later.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2020-1948 being exploited?
There is no known exploitation of CVE-2020-1948 in the wild and no public exploit code.
Public exploit code: 4 proofs of concept on GitHub.
Other vulnerabilities in Apache Dubbo
- CVE-2023-29234 Bypass serialize checks in Apache Dubbo
- CVE-2023-46279 Apache Dubbo: Bypass deny serialize list check in Apache Dubbo
- CVE-2021-32824 Regular expression Denial of Service in MooTools
- CVE-2022-39198 Apache Dubbo Hession Deserialization Vulnerability Gadgets Bypass
- CVE-2021-43297 Dubbo Hessian cause RCE when parse error
Sources
Also known as GHSA-whww-v56c-cgv2.