CVE-2021-37578 Remote code execution via RMI

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code via malicious serialized objects in Apache jUDDI if the optional RMI feature is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-37578?

CVE-2021-37578 is a critical unsafe deserialization vulnerability in Apache jUDDI, published on 29 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache jUDDI uses several classes related to Java's Remote Method Invocation (RMI) which (as an extension to UDDI) provides an alternate transport for accessing UDDI services. RMI uses the default Java serialization mechanism to pass parameters in RMI invocations. A remote attacker can send a malicious serialized object to the above RMI entries. The objects get deserialized without any check on the incoming data. In the worst case, it may let the attacker run arbitrary code remotely. For both jUDDI web service applications and jUDDI clients, the usage of RMI is disabled by default. Since this is an optional feature and an extension to the UDDI protocol, the likelihood of impact is low. Starting with 3.3.10, all RMI related code was removed.

Weakness: CWE-502

Which versions are affected by CVE-2021-37578?

2 open source packages ship an affected version, including org.apache.juddi:juddi-core. It affects 1 product.

PackageAffectedFixed in
org.apache.juddi:juddi-core MavenAll versions3.3.10
org.apache.juddi:juddi-core MavenAll versions3.3.10

Products include Apache Juddi.

How do I fix CVE-2021-37578?

Upgrade org.apache.juddi:juddi-core to 3.3.10 or later.

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

Is CVE-2021-37578 being exploited?

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

Sources

Also known as GHSA-9hx8-2mrv-r674.

Is CVE-2021-37578 in your software?

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

Check your SBOMs for free