VDB
Sign up
CRITICAL9.8

GHSA-v2rg-8cwr-75g8

Deserializer tampering in Apache Dubbo

Quick fix

GHSA-v2rg-8cwr-75g8 — org.apache.dubbo:dubbo: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.7.8</version> for org.apache.dubbo:dubbo

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.dubbo:dubbo
Introduced in: 2.5.0Fixed in: 2.7.8
Fix# pom.xml: bump <version>2.7.8</version> for org.apache.dubbo:dubbo
Maven/com.alibaba:dubbo
Introduced in: 2.5.0Fixed in: 2.6.9
Fix# pom.xml: bump <version>2.6.9</version> for com.alibaba:dubbo

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:maven/org.apache.dubbo/dubbo"]}'