CriticalGHSA-cpx9-4rwv-486vCVE-2021-36163

Hessian protocol configuration vulnerability in Apache Dubbo

Published 8 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 packages

Affected
>=2.7.0 <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
Affected
<2.6.10.1
Fixed in
2.6.10.1
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.apache.dubbo:dubbo -DdepVersion=2.6.10.1 -DforceVersion=true

Details

In Apache Dubbo, users may choose to use the Hessian protocol. The Hessian protocol is implemented on top of HTTP and passes the body of a POST request directly to a HessianSkeleton: New HessianSkeleton are created without any configuration of the serialization factory and therefore without applying the dubbo properties for applying allowed or blocked type lists. In addition, the generic service is always exposed and therefore attackers do not need to figure out a valid service/method name pair. This is fixed in 2.7.13, 2.6.10.1

Is GHSA-cpx9-4rwv-486v 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.