Critical
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-36161
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:27 UTC · Revision 1
Source evidence
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
osv:CVE-2021-36161
Complete source record
{
"id": "11ec4fc4d0963a7056f3070c76027ab17ba7675ef5c8ddb9770cd88ac9b6a1ec",
"url": "https://osv.dev/vulnerability/CVE-2021-36161",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-36161",
"summary": "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",
"evidence": "osv:CVE-2021-36161",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-36161",
"aliases": [
"CVE-2021-36161",
"GHSA-qvm7-23cj-437v"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/dubbo",
"type": "GIT",
"events": [
{
"introduced": "614bcebc01336ee5047a98f96b28915680c0399c"
},
{
"fixed": "9c49efeacfd87d2d4409fb000cebd58e1114ec8a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.13"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36161.json",
"vanir_signatures": [
{
"id": "CVE-2021-36161-302e3b9a",
"digest": {
"threshold": 0.9,
"line_hashes": [
"63240973352874591703004217537934715748",
"285723713262584181958599052222858507853",
"316048047893920617316449111688895297450"
]
},
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/test/java/org/apache/dubbo/remoting/exchange/support/DefaultFutureTest.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2021-36161-d1e77617",
"digest": {
"length": 582,
"function_hash": "4863761830588223872434984121035313721"
},
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java",
"function": "closeChannel"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2021-36161-d98b89a0",
"digest": {
"threshold": 0.9,
"line_hashes": [
"317161288691809419426977543067537146614",
"28638772766964189145236006874053929600",
"37426758785719221501285982527572694895",
"273207489124389298715745917449842553434",
"57077031217357767338669616143479344864",
"44506862183579152500133904668039221473",
"85575028206352999141822831611625619834"
]
},
"source": "https://github.com/apache/dubbo/commit/9c49efeacfd87d2d4409fb000cebd58e1114ec8a",
"target": {
"file": "dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:25:15Z"
}
}
],
"modified": "2026-10-24T14:25:15.929527117Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r40212261fd5d638074b65f22ac73eebe93ace310c79d4cfcca4863da%40%3Cdev.dubbo.apache.org%3E"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-36161",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443748,
"published_at": "2021-09-09T08:15:28.667+00:00"
}