VYPR
Moderate severityNVD Advisory· Published Jan 6, 2022· Updated Aug 4, 2024

Mysql JDBC Connector Deserialize RCE

CVE-2021-36774

Description

Apache Kylin allows users to read data from other database systems using JDBC. The MySQL JDBC driver supports certain properties, which, if left unmitigated, can allow an attacker to execute arbitrary code from a hacker-controlled malicious MySQL server within Kylin server processes. This issue affects Apache Kylin 2 version 2.6.6 and prior versions; Apache Kylin 3 version 3.1.2 and prior versions.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Apache Kylin versions 2.6.6 and earlier, and 3.1.2 and earlier, allow remote code execution via a malicious MySQL JDBC connection.

Vulnerability

Apache Kylin versions 2.6.6 and prior, and 3.1.2 and prior, contain a vulnerability where the MySQL JDBC driver processes certain properties that can be exploited by an attacker to execute arbitrary code. The issue affects Kylin 2.x and 3.x when connecting to a MySQL database. [1][3]

Exploitation

An attacker must control a malicious MySQL server and induce a Kylin server to connect to it via JDBC. The MySQL JDBC driver then deserializes attacker-controlled data, leading to remote code execution within the Kylin server process. No authentication or user interaction beyond initiating the connection is required. [1][3]

Impact

Successful exploitation allows the attacker to execute arbitrary code on the Kylin server, potentially leading to full compromise of the server and access to sensitive data. The attack results in remote code execution. [1][3]

Mitigation

Users should upgrade to Apache Kylin 3.1.3 or apply the patch available at GitHub pull request #1694. No workaround is documented. [3]

AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
org.apache.kylin:kylinMaven
< 3.1.33.1.3

Affected products

2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.