CVE-2021-37579 Bypass deserialization checks in Apache Dubbo
Attackers can bypass serialization checks to trigger unsafe Java deserialization, potentially leading to remote code execution in Apache Dubbo applications.
- 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-37579?
CVE-2021-37579 is a critical unsafe deserialization vulnerability in Apache Dubbo, published on 9 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-502
Which versions are affected by CVE-2021-37579?
4 open source packages ship an affected version, including org.apache.dubbo:dubbo. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.dubbo:dubbo Maven | All versions | 2.7.13 |
org.apache.dubbo:dubbo Maven | All versions | 2.7.13 |
org.apache.dubbo:dubbo Maven | From 3.0.0 | 3.0.2 |
org.apache.dubbo:dubbo Maven | From 3.0.0 | 3.0.2 |
Products include Apache Dubbo.
How do I fix CVE-2021-37579?
Upgrade org.apache.dubbo:dubbo to a fixed version for your release line: 2.7.13 or 3.0.2.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2021-37579 being exploited?
There is no known exploitation of CVE-2021-37579 in the wild and no public exploit code.
Other vulnerabilities in Apache Dubbo
- CVE-2023-29234 Bypass serialize checks in Apache Dubbo
- CVE-2023-46279 Apache Dubbo: Bypass deny serialize list check in Apache Dubbo
- CVE-2021-32824 Regular expression Denial of Service in MooTools
- CVE-2022-39198 Apache Dubbo Hession Deserialization Vulnerability Gadgets Bypass
- CVE-2021-43297 Dubbo Hessian cause RCE when parse error
Sources
Also known as GHSA-q897-9jxf-jg9r.