CVE-2020-13937: Kylin Authentication Bypass Vulnerability

MODERATE
Advisory Identifier: GHSA-2hpg-vwqj-6h6w
CVSS 5.3
CWE-922
Published
Advisory Summary

CVE-2020-13937 is a MODERATE (CVSS 5.3) authentication bypass vulnerability (CWE-922: Insecure Storage of Sensitive Information) affecting Kylin libraries in the Maven ecosystem. The issue involves authentication bypass in apache kylin. Remediation is available by upgrading affected packages to version 3.1.1, 4.0.0-beta.

CVE-2020-13937 at a Glance

CVE Identifier CVE-2020-13937
GHSA Identifier GHSA-2hpg-vwqj-6h6w
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-922: Insecure Storage of Sensitive Information
Affected Product Kylin
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:L/I:N/A:N).

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 Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2020-13937

To remediate this vulnerability, upgrade all affected Kylin 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.kylin:kylin fixed: 3.1.1
<dependency>
    <groupId>org.apache.kylin</groupId>
    <artifactId>kylin</artifactId>
    <version>3.1.1</version>
</dependency>
org.apache.kylin:kylin fixed: 4.0.0-beta
<dependency>
    <groupId>org.apache.kylin</groupId>
    <artifactId>kylin</artifactId>
    <version>4.0.0-beta</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.kylin

How to Check if You Are Affected

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

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

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

Note: The mvn dependency:tree -Dincludes=org.apache.kylin 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-922: Insecure Storage of Sensitive Information, where the product stores sensitive information without properly limiting read or write access by unauthorized actors. In Kylin, 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

Apache Kylin 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 3.0.0-alpha, 3.0.0-alpha2, 3.0.0-beta, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 4.0.0-alpha has one restful api which exposed Kylin's configuration information without any authentication, so it is dangerous because some confidential information entries will be disclosed to everyone.

CVE-2020-13937 Affected Kylin Versions

2 component(s)
Fixed Versions:
3.1.14.0.0-beta
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.kylin:kylin
Maven
< 3.1.1
3.1.1
org.apache.kylin:kylin
Maven
≥ 4.0.0-alpha
< 4.0.0-beta
All 1 versions
4.0.0-alpha
4.0.0-beta

References

Frequently Asked Questions

What is CVE-2020-13937?
CVE-2020-13937 is a security vulnerability in Kylin involving Authentication bypass in Apache Kylin under CWE-922: Insecure Storage of Sensitive Information.
Which Kylin versions are affected?
Affected versions include releases prior to 3.1.1, 4.0.0-beta across affected packages: org.apache.kylin:kylin.
What version fixes CVE-2020-13937?
Upgrading to 3.1.1, 4.0.0-beta (or the latest patched release for your respective branch) resolves the vulnerability.
Is kylin affected?
Yes, org.apache.kylin:kylin is affected in releases prior to 3.1.1, 4.0.0-beta. Upgrade your dependency to 3.1.1, 4.0.0-beta or later.
What is the CVSS score of CVE-2020-13937?
CVE-2020-13937 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2020-13937?
CVE-2020-13937 is classified under CWE-922: Insecure Storage of Sensitive Information (The product stores sensitive information without properly limiting read or write access by unauthorized actors.).
How can I check Maven dependencies for CVE-2020-13937?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.kylin'. 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-2hpg-vwqj-6h6w",
  "modified" : "2021-04-22T21:41:07Z",
  "published" : "2022-02-10T20:25:56Z",
  "aliases" : [ "CVE-2020-13937" ],
  "summary" : "Authentication bypass in Apache Kylin",
  "details" : "Apache Kylin 2.0.0, 2.1.0, 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0, 2.4.1, 2.5.0, 2.5.1, 2.5.2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 3.0.0-alpha, 3.0.0-alpha2, 3.0.0-beta, 3.0.0, 3.0.1, 3.0.2, 3.1.0, 4.0.0-alpha has one restful api which exposed Kylin's configuration information without any authentication, so it is dangerous because some confidential information entries will be disclosed to everyone.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.kylin:kylin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.kylin:kylin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0-alpha"
      }, {
        "fixed" : "4.0.0-beta"
      } ]
    } ],
    "versions" : [ "4.0.0-alpha" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-13937"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread.html/rc592e0dcee5a2615f1d9522af30ef1822c1f863d5e05e7da9d1e57f4%40%3Cuser.kylin.apache.org%3E"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-922" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-04-22T21:41:07Z",
    "nvd_published_at" : "2020-10-19T21:15:00Z"
  }
}