# CVE-2021-36162: Unprotected yaml deserialization cause RCE

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-09-07 · Modified: 2024-08-04
- Aliases: GHSA-r577-4hq7-73qh
- Record: https://cvemate.com/vulnerability/CVE-2021-36162 · JSON: https://cvemate.com/vulnerability/CVE-2021-36162/json

## Description

```text
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
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 2.261%, percentile 83.581%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache dubbo: ≥ Apache Dubbo 2.7.x, ≤ 2.7.12 \| ≥ Apache Dubbo 3.0.x, ≤ 3.0.1
- apache dubbo: ≥ 2.7.0, ≤ 2.7.12 \| ≥ 3.0.0, ≤ 3.0.1
- org.apache.dubbo dubbo (Maven): \< 2.7.13 \| ≥ 3.0.0, \< 3.0.2

## References

- <https://lists.apache.org/thread.html/rfa351115a459e214b99ffcc52c35f33359f3370c547d9c6ba1a60037%40%3Cdev.dubbo.apache.org%3E>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36162>
- <https://github.com/apache/dubbo>

---

Data as of 2026-12-05T04:22:26.907Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
