CVE-2021-36162
Unprotected yaml deserialization cause RCE
HIGH 8.8
En bref
- Source
- NVD
- EPSS
- EPSS 2.26 % · centile 83 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- apache
- Statut NVD
- Modified
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
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| 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 | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-r577-4hq7-73qh — Remote Code Execution in Apache Dubbo
Références européennes
- ENISA EUVD · EUVD-2021-2105
- GCVE · GCVE-0-2021-36162
Configurations affectées (CPE NVD)
cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*≥ 2.7.0 ≤ 2.7.12cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*≥ 3.0.0 ≤ 3.0.1
Produits affectés
| Produit | Versions |
|---|---|
| Apache Software Foundation · Apache Dubbo | affected Apache Dubbo 2.7.x ≤ 2.7.12 ; affected Apache Dubbo 3.0.x ≤ 3.0.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |