# CVE-2021-36161: Unprotected input value toString cause RCE

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.47%, higher than 85% of CVEs (2026-11-30)
- Published: 2021-09-09T07:45:11.000Z
- Modified: 2026-06-17T03:58:26.490Z
- Also known as: GHSA-qvm7-23cj-437v
- Weaknesses: CWE-134
- Assigned by: apache

## 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

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Dubbo: from Apache Dubbo 2.7.x up to 2.7.12
- org.apache.dubbo:dubbo (Maven): before 2.7.13
- apache dubbo: from 2.7.0 before 2.7.13

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://lists.apache.org/thread.html/r40212261fd5d638074b65f22ac73eebe93ace310c79d4cfcca4863da%40%3Cdev.dubbo.apache.org%3E> (mailing-list, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36161> (advisory)
- <https://github.com/apache/dubbo> (package)

## Sources

- CVE List: [CVE-2021-36161](https://www.cve.org/CVERecord?id=CVE-2021-36161), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-qvm7-23cj-437v](https://github.com/advisories/GHSA-qvm7-23cj-437v), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-36161](https://nvd.nist.gov/vuln/detail/CVE-2021-36161), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-36161 · Whole record: https://cve.day/CVE-2021-36161.json · Rebuilt by cve.day 2026-11-25T22:58:03.852Z
