CVE Database
/

CVE-2021-25641

Back to search

CVE-2021-25641

Published: May 29, 2021

Modified: Aug 3, 2024

PUBLISHED

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.

VendorProductVersions

Apache Software Foundation

Apache Dubbo

affected
Apache Dubbo 2.7.x - < 2.7.8
affected
Apache Dubbo 2.6.x - < 2.6.9

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now