Critical severityNVD Advisory· Published May 29, 2021· Updated Aug 3, 2024
Dubbo Zookeeper does not check serialization id
CVE-2021-25641
Description
Each Apache Dubbo server will set a serialization id to tell the clients which serialization protocol it is working on. But for Dubbo versions before 2.7.8 or 2.6.9, an attacker can choose which serialization id the Provider will use by tampering with the byte preamble flags, aka, not following the server's instruction. This means that if a weak deserializer such as the Kryo and FST are somehow in code scope (e.g. if Kryo is somehow a part of a dependency), a remote unauthenticated attacker can tell the Provider to use the weak deserializer, and then proceed to exploit it.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.dubbo:dubboMaven | >= 2.5.0, < 2.7.8 | 2.7.8 |
com.alibaba:dubboMaven | >= 2.5.0, < 2.6.9 | 2.6.9 |
Affected products
3- ghsa-coords2 versions
>= 2.5.0, < 2.6.9+ 1 more
- (no CPE)range: >= 2.5.0, < 2.6.9
- (no CPE)range: >= 2.5.0, < 2.7.8
- Apache Software Foundation/Apache Dubbov5Range: Apache Dubbo 2.7.x
Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.