CVE-2021-25641
Dubbo Zookeeper does not check serialization id
CRITICAL 9.8
At a glance
- Source
- NVD
- EPSS
- EPSS 21.22 % · percentile 98 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- apache
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-502 — Deserialization of Untrusted Data
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-v2rg-8cwr-75g8 — Deserializer tampering in Apache Dubbo
European references
- ENISA EUVD · EUVD-2022-1540
- GCVE · GCVE-0-2021-25641
Affected configurations (NVD CPE)
cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*≥ 2.5.0 < 2.6.9cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*≥ 2.7.0 < 2.7.8
Affected products
| Product | Versions |
|---|---|
| Apache Software Foundation · Apache Dubbo | affected Apache Dubbo 2.7.x < 2.7.8 ; affected Apache Dubbo 2.6.x < 2.6.9 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |