CVEvulnerability

CVE-2021-25641

9.8 CRITICAL Published 2021-06-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-06-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-502

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.

Affected configurations

• apache dubbo (>= 2.5.0 < 2.6.9) • apache dubbo (>= 2.7.0 < 2.7.8)

Related

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References