9.8

CVE-2021-25641: apache software foundation apache dubbo Deserialization of Untrusted Data

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-v2rg-8cwr-75g8
Published 29-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-25641 is a critical (CVSS 9.8) Deserialization of Untrusted Data vulnerability in apache software foundation apache dubbo. EPSS estimates a 21.22% chance of exploitation in the next 30 days, higher than 97.5% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (NVD)
EPSS score
21.22%
0%100%
High · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 29-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

21.22%

Chance of exploitation in the next 30 days

Percentile

98%

Versus all other CVEs

30-day change

0.00 pp

From 21.22% on 18-09-2026

18-09-202618-10-2026
EPSS score
21.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Apache1 product
  • dubbo≥ 2.5.0, < 2.6.9 | ≥ 2.7.0, < 2.7.8
Apache software foundation1 product
  • apache dubbo≥ Apache Dubbo 2.7.x, < 2.7.8 | ≥ Apache Dubbo 2.6.x, < 2.6.9
Com.alibaba1 product
  • dubbo≥ 2.5.0, < 2.6.9
Org.apache.dubbo1 product
  • dubbo≥ 2.5.0, < 2.7.8

4 vendors · 4 products

References

2 links