Vulnerabilities in pkg:maven/org.apache.dubbo/dubbo-rpc-http-invoker

PACKAGE
Advisory Identifier: GHSA-69wp-3pm3-hxgg
Advisory Summary

CVE-2019-17564 is a MODERATE deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Dubbo rpc http invoker libraries in the Maven ecosystem. The issue involves deserialization of untrusted data in apache dubbo. Remediation is available by upgrading affected packages to version 2.7.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.dubbo/dubbo-rpc-http-invoker

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.dubbo/dubbo-rpc-http-invoker. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-69wp-3pm3-hxgg CVE-2019-17564 MODERATE Deserialization of Untrusted Data in Apache Dubbo

CVE-2019-17564 at a Glance

CVE Identifier CVE-2019-17564
GHSA Identifier GHSA-69wp-3pm3-hxgg
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Dubbo rpc http invoker
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2019-17564

To remediate this vulnerability, upgrade all affected Dubbo rpc http invoker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.apache.dubbo:dubbo-rpc-http-invoker fixed: 2.7.5
<dependency>
    <groupId>org.apache.dubbo</groupId>
    <artifactId>dubbo-rpc-http-invoker</artifactId>
    <version>2.7.5</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.apache.dubbo

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2019-17564, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.apache.dubbo

Analyze the terminal output to locate any version of Dubbo rpc http invoker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.5), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.apache.dubbo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Dubbo rpc http invoker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Unsafe deserialization occurs within a Dubbo application which has HTTP remoting enabled. An attacker may submit a POST request with a Java object in it to completely compromise a Provider instance of Apache Dubbo, if this instance enables HTTP. This issue affected Apache Dubbo 2.7.0 to 2.7.4, 2.6.0 to 2.6.7, and all 2.5.x versions.

CVE-2019-17564 Affected Dubbo rpc http invoker Versions

1 component(s)
Fixed Versions:
2.7.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.dubbo:dubbo-rpc-http-invoker
Maven
≥ 2.5.0
< 2.7.5
2.7.5

References

Frequently Asked Questions

What is CVE-2019-17564?
CVE-2019-17564 is a security vulnerability in Dubbo rpc http invoker involving Deserialization of Untrusted Data in Apache Dubbo under CWE-502: Deserialization of Untrusted Data.
Which Dubbo rpc http invoker versions are affected?
Affected versions include releases prior to 2.7.5 across affected packages: org.apache.dubbo:dubbo-rpc-http-invoker.
What version fixes CVE-2019-17564?
Upgrading to 2.7.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is dubbo-rpc-http-invoker affected?
Yes, org.apache.dubbo:dubbo-rpc-http-invoker is affected in releases prior to 2.7.5. Upgrade your dependency to 2.7.5 or later.
What CWE is associated with CVE-2019-17564?
CVE-2019-17564 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2019-17564?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.dubbo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-69wp-3pm3-hxgg",
  "modified" : "2022-11-04T22:36:16Z",
  "published" : "2022-05-24T17:13:14Z",
  "aliases" : [ "CVE-2019-17564" ],
  "summary" : "Deserialization of Untrusted Data in Apache Dubbo",
  "details" : "Unsafe deserialization occurs within a Dubbo application which has HTTP remoting enabled. An attacker may submit a POST request with a Java object in it to completely compromise a Provider instance of Apache Dubbo, if this instance enables HTTP. This issue affected Apache Dubbo 2.7.0 to 2.7.4, 2.6.0 to 2.6.7, and all 2.5.x versions.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.dubbo:dubbo-rpc-http-invoker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.5.0"
      }, {
        "fixed" : "2.7.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-17564"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/dubbo/commit/9b18fe228971eaeca9b87d7b7e95df1c2a8ff91b"
  }, {
    "type" : "WEB",
    "url" : "https://advisory.checkmarx.net/advisory/CX-2020-4275"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/dubbo/releases/tag/dubbo-2.7.5"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/r13f7a58fa5d61d729e538a378687118e00c3e229903ba1e7b3a807a2%40%3Cdev.dubbo.apache.org%3E"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-04T22:36:16Z",
    "nvd_published_at" : "2020-04-01T22:15:00Z"
  }
}