{"schemaVersion":3,"id":"CVE-2021-36161","aliases":["GHSA-qvm7-23cj-437v"],"status":"published","duplicateOf":null,"title":null,"description":"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","dates":{"published":"2021-09-09T07:45:11.000Z","modified":"2024-08-04T00:47:43.813Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02467,"percentile":0.8423,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.02467},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02467,"percentile":0.8423}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02467,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02467,"percentile":0.8423}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-134","name":"Use of Externally-Controlled Format String","description":"The product uses a function that accepts a format string as an argument, but the format string originates from an external source.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/134.html"}],"affected":[{"vendor":"apache software foundation","product":"apache dubbo","name":"Apache Dubbo","label":"apache dubbo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ Apache Dubbo 2.7.x, ≤ 2.7.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ Apache Dubbo 2.7.x, ≤ 2.7.12","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_dubbo"},{"vendor":"apache","product":"dubbo","name":"dubbo","label":"dubbo","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.7.0, < 2.7.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.7.0, < 2.7.13","eol":null,"hubHref":"/vendor/apache/dubbo"},{"vendor":"org.apache.dubbo","product":"dubbo","name":"org.apache.dubbo:dubbo","label":"dubbo","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.dubbo/dubbo","purlType":"maven","versions":[{"text":"< 2.7.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.7.13","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/r40212261fd5d638074b65f22ac73eebe93ace310c79d4cfcca4863da%40%3Cdev.dubbo.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36161","label":"nvd.nist.gov/vuln/detail/CVE-2021-36161","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/dubbo","label":"github.com/apache/dubbo","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-09-09T07:45:11.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T00:47:43.813Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T02:16:25.969Z","stale":false,"partial":false}}