CVE-2021-37579 — dubbo
CRITICALCVE-2021-37579 is a critical-severity (CVSS 9.8) Deserialization of Untrusted Data vulnerability in org.apache.dubbo:dubbo. A fix is available for org.apache.dubbo:dubbo — see the affected versions and patch details below.
Security check skip in Apache Dubbo
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.apache.dubbo:dubbo☕org.apache.dubbo:dubboReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The Dubbo Provider will check the incoming request and the corresponding serialization type of this request meet the configuration set by the server. But there's an exception that the attacker can use to skip the security check (when enabled) and reaching a deserialization operation with native java serialization. Apache Dubbo 2.7.13, 3.0.2 fixed this issue by quickly fail when any unrecognized request was found.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.dubbo:dubbo | all versions | 2.7.13org.apache.dubbo:dubbo:2.7.13 |
| ☕Maven | org.apache.dubbo:dubbo | ≥ 3.0.0&&< 3.0.2 | 3.0.2org.apache.dubbo:dubbo:3.0.2 |
Affected Products
dubboapacheDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.dubbo:dubbo, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.dubbo:dubbo to 2.7.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2021-37579 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2021-37579 in your dependencies?
Find it across Maven, including transitive dependencies.