Some component in Dubbo will try to print the formated string of the input arguments, which will possibly cause RCE for a maliciously customized bean with special toString method. In the latest version, we fix the toString call in timeout, cache and some other places. Fixed in Apache Dubbo 2.7.13
[
{
"signature_version": "v1",
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"id": "CVE-2021-36161-302e3b9a",
"deprecated": false,
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/exchange/support/DefaultFutureTest.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"63240973352874591703004217537934715748",
"285723713262584181958599052222858507853",
"316048047893920617316449111688895297450"
]
},
"signature_type": "Line"
},
{
"signature_version": "v1",
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"id": "CVE-2021-36161-d1e77617",
"deprecated": false,
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java",
"function": "closeChannel"
},
"digest": {
"function_hash": "4863761830588223872434984121035313721",
"length": 582.0
},
"signature_type": "Function"
},
{
"signature_version": "v1",
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"id": "CVE-2021-36161-d98b89a0",
"deprecated": false,
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java"
},
"digest": {
"threshold": 0.9,
"line_hashes": [
"317161288691809419426977543067537146614",
"28638772766964189145236006874053929600",
"37426758785719221501285982527572694895",
"273207489124389298715745917449842553434",
"57077031217357767338669616143479344864",
"44506862183579152500133904668039221473",
"85575028206352999141822831611625619834"
]
},
"signature_type": "Line"
}
]