Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36162

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36162
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:40 UTC · Revision 1

Source evidence

CVE-2021-36162

core-osv · Original source

Published 7 Sept 2021, 10:15 UTC

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

osv:CVE-2021-36162
Complete source record
{
  "id": "800de2c504f727db6302e4b0d8044c9ac73d7622931c458167ff69477832f0d4",
  "url": "https://osv.dev/vulnerability/CVE-2021-36162",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36162",
    "summary": "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",
    "evidence": "osv:CVE-2021-36162",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-36162",
      "aliases": [
        "CVE-2021-36162",
        "GHSA-r577-4hq7-73qh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apache/dubbo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "614bcebc01336ee5047a98f96b28915680c0399c"
                },
                {
                  "last_affected": "e8eeddbf42952e7dd4ba4428548f91006900ea5c"
                },
                {
                  "introduced": "236a45694e9a1925e0a57f42686996f6fbf4c694"
                },
                {
                  "last_affected": "aa3fe7b74dfe282ab7c3b83b2fc5559d06c8f9b4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.7.0"
                      },
                      {
                        "last_affected": "2.7.12"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36162.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:56.423996947Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/rfa351115a459e214b99ffcc52c35f33359f3370c547d9c6ba1a60037%40%3Cdev.dubbo.apache.org%3E"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-36162",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438677,
  "published_at": "2021-09-07T10:15:07.253+00:00"
}