CVE-2021-36162
HIGH 8.8CVSS 3.1Remote Code Execution in Apache Dubbo
Apache Dubbo supports various rules to support configuration override or traffic routing (called routing in Dubbo). These rules are loaded into the configuration center (eg: Zookeeper, Nacos, ...) and retrieved by the customers when making a request in order to find the right endpoint. When parsing these YAML rules, Dubbo customers will use SnakeYAML library to load the rules which by default will enable calling arbitrary constructors. An attacker with access to the configuration center he will be able to poison the rule so when retrieved by the consumers, it will get RCE on all of them. This was fixed in Dubbo 2.7.13, 3.0.2
- Published
- 7 Sep 2021
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-r577-4hq7-73qh
- Sources
- NVDJSONOSV GHSA-r577-4hq7-73qhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | dubbocpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:* |
>= 2.7.0, <= 2.7.12 | |
| NVD | apache | dubbocpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.0.1 | |
| OSV | Maven | org.apache.dubbo:dubbo | < 2.7.13 | 2.7.13 |
| OSV | Maven | org.apache.dubbo:dubbo | >= 3.0.0, < 3.0.2 | 3.0.2 |
References
- https://lists.apache.org/thread.html/rfa351115a459e214b99ffcc52c35f33359f3370c547d9c6ba1a60037%40%3Cdev.dubbo.apache.org%3E · Mailing List, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-36162 · ADVISORY
- https://github.com/apache/dubbo · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Sep 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Sep 2021)