CVE-2023-23638 Apache Dubbo Deserialization Vulnerability Gadgets Bypass

Medium 5.0 Published Updated

Attackers can execute arbitrary code via malicious deserialization in Apache Dubbo generic invoke, requiring an upgrade to secure versions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-23638?

CVE-2023-23638 is a medium-severity unsafe deserialization vulnerability in Apache Dubbo, published on 8 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A deserialization vulnerability existed when dubbo generic invoke, which could lead to malicious code execution.

This issue affects Apache Dubbo 2.7.x version 2.7.21 and prior versions; Apache Dubbo 3.0.x version 3.0.13 and prior versions; Apache Dubbo 3.1.x version 3.1.5 and prior versions.

Weakness: CWE-502

Which versions are affected by CVE-2023-23638?

6 open source packages ship an affected version, including org.apache.dubbo:dubbo. It affects 1 product.

PackageAffectedFixed in
org.apache.dubbo:dubbo MavenAll versions2.7.22
org.apache.dubbo:dubbo MavenAll versions2.7.22
org.apache.dubbo:dubbo MavenFrom 3.0.03.0.13
org.apache.dubbo:dubbo MavenFrom 3.0.03.0.13
org.apache.dubbo:dubbo MavenFrom 3.1.03.1.5
org.apache.dubbo:dubbo MavenFrom 3.1.03.1.5

Products include Apache Dubbo.

How do I fix CVE-2023-23638?

Upgrade org.apache.dubbo:dubbo to a fixed version for your release line: 2.7.22, 3.0.13 or 3.1.5.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2023-23638 being exploited?

There is no known exploitation of CVE-2023-23638 in the wild and no public exploit code.

Public exploit code: 4 proofs of concept on GitHub.

Sources

Also known as GHSA-933g-v89r-x8pf.

Is CVE-2023-23638 in your software?

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

Check your SBOMs for free