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?
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
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
mvn versions:use-dep-version -Dincludes=org.apache.dubbo:dubbo -DdepVersion=2.6.10.1 -DforceVersion=trueDetails
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
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-36163
- Linkgithub.com/apache/dubbo/pull/8238
- Packagegithub.com/apache/dubbo
- Linkgithub.com/apache/dubbo/releases/tag/dubbo-2.6.10.1
- Linkgithub.com/apache/dubbo/releases/tag/dubbo-2.7.13
- Linklists.apache.org/thread.html/r8d0adc057bb15a37199502cc366f4b1164c9c536ce28e4defdb428c0%40%3Cdev.dubbo.apache.org%3E
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.