CVE-2021-25641
publishedDubbo Zookeeper does not check serialization id
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache DubboApache Dubbo 2.7.x to < 2.7.8 · Apache Dubbo 2.6.x to < 2.6.9 | Affected | Not stated | apache |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Dubbo | Apache Dubbo 2.7.x to < 2.7.8 (affected · custom)Apache Dubbo 2.6.x to < 2.6.9 (affected · custom) | apache · cna |
Weaknesses
1- Remote Code Execution by tempering the serialization id on server side.
References
1Provider assertions
2apache · cna
Dubbo Zookeeper does not check serialization id
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3df1e2719e31e7598859afb7690f1ab857537931ad0d72ca370e40c64c269b77
- Ingested
- 23 Sep 2026, 07:53:18 UTC
- Source record
- Official CVE record