CVE-2021-36162

Unprotected yaml deserialization cause RCE

HIGH
8.8
CVSS Score
Published: September 7, 2021 at 09:25 AM UTC
Updated: June 17, 2026 at 03:58 AM UTC
1 product affected across 1 vendorDubbo

Using Apache Dubbo by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Dubbo - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 2%

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.7.0 ≤ v ≤ 2.7.123.0.0 ≤ v ≤ 3.0.1Apache Dubbo 2.7.x ≤ v ≤ 2.7.12Apache Dubbo 3.0.x ≤ v ≤ 3.0.12.7.x3.0.x

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card