PT-2021-18653

CVE-2021-30179

·

Published

2021-05-31

·

Updated

2022-03-18

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Apache Dubbo versions prior to 2.6.9 and 2.7.9
Description The issue allows for generic calls to arbitrary methods exposed by provider interfaces. These invocations are handled by the GenericFilter, which uses the Java Reflection API to make the final call. The invoke or invokeAsync methods have a signature that includes the method name, parameter types, and actual call arguments. An attacker can control the RPC attachment, setting it to nativejava to force Java deserialization of a byte array, potentially leading to exploitation.
Recommendations For Apache Dubbo versions prior to 2.6.9, update to version 2.6.9 or later. For Apache Dubbo versions prior to 2.7.9, update to version 2.7.9 or later. As a temporary workaround, consider restricting the RPC attachment values to prevent setting it to nativejava until a patch is available.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-5MC7-M686-P6JG
Found an issue in the description? Have something to add? Feel free to write us 👾