CVE-2021-25641
Last modified
CVE-2021-25641 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 17.67% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Apache | Dubbo | >= 2.5.0, < 2.6.9 |
| Apache | Dubbo | >= 2.7.0, < 2.7.8 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-25641?
How severe is CVE-2021-25641?
How do I fix CVE-2021-25641?
Are you affected by CVE-2021-25641?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
