CVE-2021-36162
publishedUnprotected yaml deserialization cause RCE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache DubboApache Dubbo 2.7.x through 2.7.12 · Apache Dubbo 3.0.x through 3.0.1 | Affected | Not stated | apache |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache Dubbo | Apache Dubbo 2.7.x through 2.7.12 (affected · custom)Apache Dubbo 3.0.x through 3.0.1 (affected · custom) | apache · cna |
Weaknesses
1- Remote Code Execution
References
1Provider assertions
2apache · cna
Unprotected yaml deserialization cause RCE
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cb43953e545f0d75c1e252de8b28f0f0796f1d478338270cc5460b9b183f86a9
- Ingested
- 23 Sep 2026, 07:55:06 UTC
- Source record
- Official CVE record