| { |
| "containers": { |
| "cna": { |
| "affected": [ |
| { |
| "product": "Apache Dubbo", |
| "vendor": "Apache Software Foundation", |
| "versions": [ |
| { |
| "lessThan": "2.7.9", |
| "status": "affected", |
| "version": "Apache Dubbo 2.7.x", |
| "versionType": "custom" |
| }, |
| { |
| "lessThan": "2.6.9", |
| "status": "affected", |
| "version": "Apache Dubbo 2.6.x", |
| "versionType": "custom" |
| } |
| ] |
| } |
| ], |
| "credits": [ |
| { |
| "lang": "en", |
| "value": "This issue was first reported by GitHub Security Lab" |
| } |
| ], |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "Apache Dubbo prior to 2.6.9 and 2.7.9 by default supports generic calls to arbitrary methods exposed by provider interfaces. These invocations are handled by the GenericFilter which will find the service and method specified in the first arguments of the invocation and use the Java Reflection API to make the final call. The signature for the $invoke or $invokeAsync methods is Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object; where the first argument is the name of the method to invoke, the second one is an array with the parameter types for the method being invoked and the third one is an array with the actual call arguments.\n\nIn addition, the caller also needs to set an RPC attachment specifying that the call is a generic call and how to decode the arguments. The possible values are:\n\n- true\n- raw.return\n- nativejava\n- bean\n- protobuf-json\n\nAn attacker can control this RPC attachment and set it to nativejava to force the java deserialization of the byte array located in the third argument.\n" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "description": "Remote Code Execution", |
| "lang": "en", |
| "type": "text" |
| } |
| ] |
| } |
| ], |
| "providerMetadata": { |
| "orgId": "Not found", |
| "shortName": "Not found" |
| }, |
| "references": [ |
| { |
| "tags": [ |
| "x_refsource_CONFIRM" |
| ], |
| "url": "https://lists.apache.org/thread.html/rccbcbdd6593e42ea3a1e8fedd12807cb111375c9c40edb005ef36f67%40%3Cdev.dubbo.apache.org%3E" |
| } |
| ], |
| "source": { |
| "discovery": "UNKNOWN" |
| }, |
| "title": "Apache Dubbo Pre-auth RCE via Java deserialization in the Generic filter", |
| "x_ValidationErrors": [ |
| "$.cveMetadata.assignerOrgId -- validator = pattern", |
| "$.containers.cna.providerMetadata.orgId -- validator = pattern" |
| ], |
| "x_generator": { |
| "engine": "Vulnogram 0.0.9" |
| }, |
| "x_legacyV4Record": { |
| "CNA_private": { |
| "CVE_list": [], |
| "CVE_table_description": [], |
| "email": "", |
| "internal_comments": "", |
| "owner": "dubbo", |
| "publish": { |
| "month": "", |
| "year": "", |
| "ym": "" |
| }, |
| "share_with_CVE": true, |
| "todo": [] |
| }, |
| "CVE_data_meta": { |
| "AKA": "", |
| "ASSIGNER": "security@apache.org", |
| "DATE_PUBLIC": "", |
| "ID": "CVE-2021-30179", |
| "STATE": "PUBLIC", |
| "TITLE": "Apache Dubbo Pre-auth RCE via Java deserialization in the Generic filter" |
| }, |
| "affects": { |
| "vendor": { |
| "vendor_data": [ |
| { |
| "product": { |
| "product_data": [ |
| { |
| "product_name": "Apache Dubbo", |
| "version": { |
| "version_data": [ |
| { |
| "platform": "", |
| "version_affected": "<", |
| "version_name": "Apache Dubbo 2.7.x", |
| "version_value": "2.7.9" |
| }, |
| { |
| "platform": "", |
| "version_affected": "<", |
| "version_name": "Apache Dubbo 2.6.x", |
| "version_value": "2.6.9" |
| } |
| ] |
| } |
| } |
| ] |
| }, |
| "vendor_name": "Apache Software Foundation" |
| } |
| ] |
| } |
| }, |
| "configuration": [], |
| "credit": [ |
| { |
| "lang": "eng", |
| "value": "This issue was first reported by GitHub Security Lab" |
| } |
| ], |
| "data_format": "MITRE", |
| "data_type": "CVE", |
| "data_version": "4.0", |
| "description": { |
| "description_data": [ |
| { |
| "lang": "eng", |
| "value": "Apache Dubbo prior to 2.6.9 and 2.7.9 by default supports generic calls to arbitrary methods exposed by provider interfaces. These invocations are handled by the GenericFilter which will find the service and method specified in the first arguments of the invocation and use the Java Reflection API to make the final call. The signature for the $invoke or $invokeAsync methods is Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/Object; where the first argument is the name of the method to invoke, the second one is an array with the parameter types for the method being invoked and the third one is an array with the actual call arguments.\n\nIn addition, the caller also needs to set an RPC attachment specifying that the call is a generic call and how to decode the arguments. The possible values are:\n\n- true\n- raw.return\n- nativejava\n- bean\n- protobuf-json\n\nAn attacker can control this RPC attachment and set it to nativejava to force the java deserialization of the byte array located in the third argument.\n" |
| } |
| ] |
| }, |
| "exploit": [], |
| "generator": { |
| "engine": "Vulnogram 0.0.9" |
| }, |
| "impact": [], |
| "problemtype": { |
| "problemtype_data": [ |
| { |
| "description": [ |
| { |
| "lang": "eng", |
| "value": "Remote Code Execution" |
| } |
| ] |
| } |
| ] |
| }, |
| "references": { |
| "reference_data": [ |
| { |
| "name": "", |
| "refsource": "CONFIRM", |
| "url": "https://lists.apache.org/thread.html/rccbcbdd6593e42ea3a1e8fedd12807cb111375c9c40edb005ef36f67%40%3Cdev.dubbo.apache.org%3E" |
| } |
| ] |
| }, |
| "solution": [], |
| "source": { |
| "advisory": "", |
| "defect": [], |
| "discovery": "UNKNOWN" |
| }, |
| "timeline": [], |
| "work_around": [] |
| } |
| } |
| }, |
| "cveMetadata": { |
| "assignerOrgId": "Not found", |
| "assignerShortName": "Not found", |
| "cveId": "CVE-2021-30179", |
| "state": "PUBLISHED" |
| }, |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0" |
| } |