CVE-2020-1948 Deserialization of Untrusted Data in Apache Dubbo

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
org.apache.dubbo:dubbo MavenAll versions2.7.7
org.apache.dubbo:dubbo MavenAll versions2.7.7
org.apache.dubbo:dubbo-common MavenAll versions2.7.7
org.apache.dubbo:dubbo-common MavenAll versions2.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.

Sources

Also known as GHSA-whww-v56c-cgv2.

Is CVE-2020-1948 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free