cve.bz

CVE-2021-25641

9.8 criticalEPSS 21%

Critical (9.8) in apache dubbo. EPSS 21% chance of exploitation in the next 30 days. Fixed in org.apache.dubbo:dubbo 2.7.8.

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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
21% chance of exploitation in the next 30 days; higher than 97% of CVEs (scores of 2026-10-31)
CWE
CWE-502
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v2rg-8cwr-75g8Mavenorg.apache.dubbo:dubbo>=2.5.0 <2.7.82.7.8
GHSA-v2rg-8cwr-75g8Mavencom.alibaba:dubbo>=2.5.0 <2.6.92.6.9

References

Check your stackJSON