CVE-2019-17570: Xmlrpc Insecure Deserialization Vulnerability

CRITICAL
Advisory Identifier: GHSA-6vwp-35w3-xph8
CVSS 9.8
CWE-502
Published
Advisory Summary

CVE-2019-17570 is a CRITICAL (CVSS 9.8) insecure deserialization vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Xmlrpc libraries in the Maven ecosystem. The issue involves insecure deserialization in apache xml-rpc. Remediation is available in the latest vendor maintenance releases.

CVE-2019-17570 at a Glance

CVE Identifier CVE-2019-17570
GHSA Identifier GHSA-6vwp-35w3-xph8
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Xmlrpc
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2019-17570

To remediate this vulnerability, upgrade all affected Xmlrpc 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.xmlrpc:xmlrpc fixed: Latest secure release
<dependency>
    <groupId>org.apache.xmlrpc</groupId>
    <artifactId>xmlrpc</artifactId>
    <version>Latest secure release</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.xmlrpc

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.xmlrpc 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 Xmlrpc, 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

An untrusted deserialization was found in the org.apache.xmlrpc.parser.XmlRpcResponseParser:addResult method of Apache XML-RPC (aka ws-xmlrpc) library. A malicious XML-RPC server could target a XML-RPC client causing it to execute arbitrary code. Apache XML-RPC is no longer maintained and this issue will not be fixed.

CVE-2019-17570 Affected Xmlrpc Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.xmlrpc:xmlrpc
Maven
≤ 3.1.3

References

GitHub Advisory / Wiki ADVISORY
https://github.com/orangecertcc/security-research/security/advisories/GHSA-x2r6-4m45-m4jp
NVD — CVE-2019-17570 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-17570
access.redhat.com/errata/rhsa-2020:03... WEB
https://access.redhat.com/errata/RHSA-2020:0310
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-17570%3B
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-17570;
lists.apache.org/thread.html/8465516... WEB
https://lists.apache.org/thread.html/846551673bbb7ec8d691008215384bcef03a3fb004d2da845cfe88ee%401390230951%40%3Cdev.ws.apache.org%3E
lists.debian.org/debian-lts-announce... WEB
https://lists.debian.org/debian-lts-announce/2020/01/msg00033.html
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3QCRLJYQRGVTIYF4BXYRFSF3ONP3TBF
lists.fedoraproject.org/archives/list/packa... WEB
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3QCRLJYQRGVTIYF4BXYRFSF3ONP3TBF
seclists.org/bugtraq/2020/feb/8 WEB
https://seclists.org/bugtraq/2020/Feb/8
Xmlrpc Security Information SECURITY
https://security.gentoo.org/glsa/202401-26
usn.ubuntu.com/4496-1 WEB
https://usn.ubuntu.com/4496-1
Xmlrpc Security Information SECURITY
https://www.debian.org/security/2020/dsa-4619
Xmlrpc Security Information SECURITY
http://www.openwall.com/lists/oss-security/2020/01/24/2

Frequently Asked Questions

What is CVE-2019-17570?
CVE-2019-17570 is a security vulnerability in Xmlrpc involving Insecure Deserialization in Apache XML-RPC under CWE-502: Deserialization of Untrusted Data.
Which Xmlrpc versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.apache.xmlrpc:xmlrpc.
What version fixes CVE-2019-17570?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is xmlrpc affected?
Yes, org.apache.xmlrpc:xmlrpc is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2019-17570?
CVE-2019-17570 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-17570?
CVE-2019-17570 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-17570?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.xmlrpc'. 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-6vwp-35w3-xph8",
  "modified" : "2021-08-30T13:21:58Z",
  "published" : "2020-06-10T20:02:39Z",
  "aliases" : [ "CVE-2019-17570" ],
  "summary" : "Insecure Deserialization in Apache XML-RPC",
  "details" : "An untrusted deserialization was found in the org.apache.xmlrpc.parser.XmlRpcResponseParser:addResult method of Apache XML-RPC (aka ws-xmlrpc) library. A malicious XML-RPC server could target a XML-RPC client causing it to execute arbitrary code.\n\nApache XML-RPC is no longer maintained and this issue will not be fixed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.xmlrpc:xmlrpc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "3.1.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/orangecertcc/security-research/security/advisories/GHSA-x2r6-4m45-m4jp"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-17570"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2020:0310"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-17570%3B"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-17570;"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/846551673bbb7ec8d691008215384bcef03a3fb004d2da845cfe88ee%401390230951%40%3Cdev.ws.apache.org%3E"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2020/01/msg00033.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/I3QCRLJYQRGVTIYF4BXYRFSF3ONP3TBF"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/I3QCRLJYQRGVTIYF4BXYRFSF3ONP3TBF"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/bugtraq/2020/Feb/8"
  }, {
    "type" : "WEB",
    "url" : "https://security.gentoo.org/glsa/202401-26"
  }, {
    "type" : "WEB",
    "url" : "https://usn.ubuntu.com/4496-1"
  }, {
    "type" : "WEB",
    "url" : "https://www.debian.org/security/2020/dsa-4619"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2020/01/24/2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-09T19:53:09Z",
    "nvd_published_at" : "2020-01-23T22:15:00Z"
  }
}