Dubbo Zookeeper does not check serialization id
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Dubbo | Apache Dubbo 2.7.x to before 2.7.8; Apache Dubbo 2.6.x to before 2.6.9 | 2.7.8, 2.6.9 | Patch available | CNA |
| — | org.apache.dubbo:dubbo (Maven) | 2.5.0 to before 2.7.8 | 2.7.8 | Patch available | GHSA-v2rg-8cwr-75g8 |
| — | com.alibaba:dubbo (Maven) | 2.5.0 to before 2.6.9 | 2.6.9 | Patch available | GHSA-v2rg-8cwr-75g8 |
- Apache Dubbo VendorApache Affected Apache Dubbo 2.7.x to before 2.7.8; Apache Dubbo 2.6.x to before 2.6.9 Fixed in 2.7.8, 2.6.9 Patch available CNA
- org.apache.dubbo:dubbo (Maven) Vendor— Affected 2.5.0 to before 2.7.8 Fixed in 2.7.8 Patch available GHSA-v2rg-8cwr-75g8
- com.alibaba:dubbo (Maven) Vendor— Affected 2.5.0 to before 2.6.9 Fixed in 2.6.9 Patch available GHSA-v2rg-8cwr-75g8
Remediation
- Fix · CNA Apache Dubbo (Apache Software Foundation) Fixed in 2.7.8, 2.6.9
- Fix · GHSA-v2rg-8cwr-75g8 org.apache.dubbo:dubbo (Maven) Fixed in 2.7.8 Advisory →
- Fix · GHSA-v2rg-8cwr-75g8 com.alibaba:dubbo (Maven) Fixed in 2.6.9 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-25641
- 2026-10-03 Alias added: GHSA-v2rg-8cwr-75g8
References
More Apache Dubbo vulnerabilities
- TI-2021-12489 Regular expression Denial of Service in MooTools CVSS 3.1CRITICAL 9.8
- TI-2021-10721 Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection) CVSS 3.1CRITICAL 9.8
- TI-2021-10720 Apache Dubbo RCE on customers via Condition route poisoning (Unsafe YAML unmarshaling) CVSS 3.1CRITICAL 9.8
- TI-2019-13107 Deserialization of untrusted data in Apache Dubbo CVSS 3.1CRITICAL 9.8
- TI-2021-19290 Dubbo Hessian cause RCE when parse error CVSS 3.1CRITICAL 9.8
- TI-2020-01872 Deserialization of untrusted data in Apache Dubbo CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-25641 · CVE Program
- CVE-2021-25641 · NVD
- FIRST EPSS
- GHSA-v2rg-8cwr-75g8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences