CriticalGHSA-qvm7-23cj-437vCVE-2021-36161

Remote Code Execution in Apache Dubbo

Published 10 Sept 2021 · Updated 8 Nov 2023

Is your project on an affected org.apache.dubbo:dubbo?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<2.7.13
Fixed in
2.7.13
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.dubbo:dubbo -DdepVersion=2.7.13 -DforceVersion=true

Details

Some component in Dubbo will try to print the formated string of the input arguments, which will possibly cause RCE for a maliciously customized bean with special toString method. In the latest version, we fix the toString call in timeout, cache and some other places. Fixed in Apache Dubbo 2.7.13

Is GHSA-qvm7-23cj-437v in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.apache.dubbo:dubbo, and gives you the command that fixes it.

More advisories for org.apache.dubbo:dubbo

  • CriticalCVE-2023-29234Bypass serialize checks in Apache Dubbo · 15 Dec 2023
  • CriticalCVE-2023-46279Apache Dubbo: Bypass deny serialize list check in Apache Dubbo · 15 Dec 2023
  • CriticalCVE-2023-23638Apache Dubbo vulnerable to Deserialization of Untrusted Data · 8 Mar 2023
  • CriticalCVE-2022-39198Hessian Lite for Apache Dubbo deserialization vulnerability · 19 Oct 2022
  • MediumCVE-2022-24969Server-side request forgery in Apache Dubbo · 10 Jun 2022
  • CriticalCVE-2021-30180Code injection in Apache Dubbo · 18 Mar 2022
All 16 advisories for org.apache.dubbo:dubbo

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.