CVE-2021-25641

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 servers 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.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
74.62

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-30179,CVE-2021-30181,CVE-2021-25640,CVE-2021-25641 are fixed in Alibaba-dubbo 2.6.9Windows
Vulnerabilities CVE-2021-25641 are fixed in Apache-dubbo 2.7.8Windows
Vulnerabilities CVE-2021-30179,CVE-2021-30181,CVE-2021-25640,CVE-2021-25641 are fixed in Alibaba-dubbo for Linux 2.6.9Linux
Vulnerabilities CVE-2021-25641 are fixed in Apache-dubbo for Linux 2.7.8Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234