VDB
Sign up
HIGH8.8

GHSA-r577-4hq7-73qh

Remote Code Execution in Apache Dubbo

Quick fix

GHSA-r577-4hq7-73qh — org.apache.dubbo:dubbo: upgrade to the fixed version with the command below.

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

Details

Apache Dubbo supports various rules to support configuration override or traffic routing (called routing in Dubbo). These rules are loaded into the configuration center (eg: Zookeeper, Nacos, ...) and retrieved by the customers when making a request in order to find the right endpoint. When parsing these YAML rules, Dubbo customers will use SnakeYAML library to load the rules which by default will enable calling arbitrary constructors. An attacker with access to the configuration center he will be able to poison the rule so when retrieved by the consumers, it will get RCE on all of them. This was fixed in Dubbo 2.7.13, 3.0.2

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.dubbo:dubbo
Introduced in: 0Fixed in: 2.7.13
Fix# pom.xml: bump <version>2.7.13</version> for org.apache.dubbo:dubbo
Maven/org.apache.dubbo:dubbo
Introduced in: 3.0.0Fixed in: 3.0.2
Fix# pom.xml: bump <version>3.0.2</version> for org.apache.dubbo: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"]}'