Vulnerabilities in pkg:maven/org.apache.servicecomb/java-chassis

PACKAGE
Advisory Identifier: GHSA-px4w-rcv2-6x8x
Advisory Summary

CVE-2020-17532 is a HIGH (CVSS 8.8) arbitrary code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Java chassis libraries in the Maven ecosystem. The issue involves arbitrary code execution in apache servicecomb java-chassis. Remediation is available by upgrading affected packages to version 1.3.2, 2.1.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.servicecomb/java-chassis

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.apache.servicecomb/java-chassis. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-px4w-rcv2-6x8x CVE-2020-17532 HIGH Arbitrary code execution in Apache ServiceComb java-chassis

CVE-2020-17532 at a Glance

CVE Identifier CVE-2020-17532
GHSA Identifier GHSA-px4w-rcv2-6x8x
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Java chassis
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-2020-17532

To remediate this vulnerability, upgrade all affected Java chassis 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.servicecomb:java-chassis fixed: 1.3.2
<dependency>
    <groupId>org.apache.servicecomb</groupId>
    <artifactId>java-chassis</artifactId>
    <version>1.3.2</version>
</dependency>
org.apache.servicecomb:java-chassis fixed: 2.1.5
<dependency>
    <groupId>org.apache.servicecomb</groupId>
    <artifactId>java-chassis</artifactId>
    <version>2.1.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.servicecomb

How to Check if You Are Affected

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

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

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

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

When handler-router component is enabled in servicecomb-java-chassis, authenticated user may inject some data and cause arbitrary code execution. The problem happens in versions between 2.0.0 ~ 2.1.3 and fixed in Apache ServiceComb-Java-Chassis 2.1.5

CVE-2020-17532 Affected Java chassis Versions

2 component(s)
Fixed Versions:
1.3.22.1.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.servicecomb:java-chassis
Maven
≥ 1.0.0
< 1.3.2
1.3.2
org.apache.servicecomb:java-chassis
Maven
≥ 2.0.0
< 2.1.5
2.1.5

References

Frequently Asked Questions

What is CVE-2020-17532?
CVE-2020-17532 is a security vulnerability in Java chassis involving Arbitrary code execution in Apache ServiceComb java-chassis under CWE-502: Deserialization of Untrusted Data.
Which Java chassis versions are affected?
Affected versions include releases prior to 1.3.2, 2.1.5 across affected packages: org.apache.servicecomb:java-chassis.
What version fixes CVE-2020-17532?
Upgrading to 1.3.2, 2.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is java-chassis affected?
Yes, org.apache.servicecomb:java-chassis is affected in releases prior to 1.3.2, 2.1.5. Upgrade your dependency to 1.3.2, 2.1.5 or later.
What is the CVSS score of CVE-2020-17532?
CVE-2020-17532 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2020-17532?
CVE-2020-17532 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-2020-17532?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.servicecomb'. 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-px4w-rcv2-6x8x",
  "modified" : "2021-04-06T20:02:19Z",
  "published" : "2022-02-09T22:19:00Z",
  "aliases" : [ "CVE-2020-17532" ],
  "summary" : "Arbitrary code execution in Apache ServiceComb java-chassis",
  "details" : "When handler-router component is enabled in servicecomb-java-chassis, authenticated user may inject some data and cause arbitrary code execution.\nThe problem happens in versions between 2.0.0 ~ 2.1.3 and fixed in Apache ServiceComb-Java-Chassis 2.1.5",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.servicecomb:java-chassis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.3.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.servicecomb:java-chassis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.1.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-17532"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/servicecomb-java-chassis/commit/839a52e27c754cb5ce14f20063902f21065bd26c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/servicecomb-java-chassis/commit/ba4fb37b6ab8bd3a6c3d0693f295d99a94879838"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/browse/SCB-2145"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/oss-sec/2021/q1/60"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-06T20:02:19Z",
    "nvd_published_at" : "2021-01-25T10:16:00Z"
  }
}