MEDIUM6.1
GHSA-gw4j-4229-q4px
Server-Side Request Forgery in Apache Dubbo
Quick fix
GHSA-gw4j-4229-q4px — org.apache.dubbo:dubbo: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.7.10</version> for org.apache.dubbo:dubboDetails
In Apache Dubbo prior to 2.6.9 and 2.7.10, the usage of parseURL method will lead to the bypass of white host check which can cause open redirect or SSRF vulnerability.
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.10Fix
# pom.xml: bump <version>2.7.10</version> for org.apache.dubbo:dubboMaven/com.alibaba:dubbo
Introduced in:
2.5.0Fixed in: 2.6.9Fix
# pom.xml: bump <version>2.6.9</version> for com.alibaba:dubboReferences
- https://nvd.nist.gov/vuln/detail/CVE-2021-25640[ADVISORY]
- https://lists.apache.org/thread.html/re4cab8855361a454d2af106fb3dad76259e723015fd7e09cb4f9eb77%40%3Cdev.dubbo.apache.org%3E[WEB]
- https://lists.apache.org/thread.html/re4cab8855361a454d2af106fb3dad76259e723015fd7e09cb4f9eb77@%3Cdev.dubbo.apache.org%3E[WEB]
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"]}'