{"id":"CVE-2022-39312","state":"PUBLISHED","title":"Dataease Mysql Data Source JDBC Connection Parameters Not Verified Leads to Deserialization Vulnerability","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.","publishedAt":"2022-10-25T00:00:00.000Z","updatedAt":"2025-04-22T17:17:45.319Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["dataease dataease"],"affected":[{"vendor":"dataease","product":"dataease","versions":[{"version":"< 1.15.2","status":"affected"}]}],"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"],"weaknesses":["CWE-20","CWE-502"],"ingestedAt":"2026-10-29T19:50:29.496Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/39xxx/CVE-2022-39312.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-39312","state":"PUBLISHED","datePublished":"2022-10-25T00:00:00.000Z","dateUpdated":"2025-04-22T17:17:45.319Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-09-02T00:00:00.000Z"},"containers":{"cna":{"title":"Dataease Mysql Data Source JDBC Connection Parameters Not Verified Leads to Deserialization Vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"dataease","product":"dataease","versions":[{"version":"< 1.15.2","status":"affected"}]}],"references":[{"url":"https://github.com/dataease/dataease/security/advisories/GHSA-q4qq-jhjv-7rh2"},{"url":"https://github.com/dataease/dataease/pull/3328"},{"url":"https://github.com/dataease/dataease/commit/956ee2d6c9e81349a60aef435efc046888e10a6d"},{"url":"https://github.com/dataease/dataease/releases/tag/v1.15.2"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","type":"CWE","lang":"en","description":"CWE-20: Improper Input Validation"}]},{"descriptions":[{"cweId":"CWE-502","type":"CWE","lang":"en","description":"CWE-502: Deserialization of Untrusted Data"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2022-10-25T00:00:00.000Z"},"source":{"advisory":"GHSA-q4qq-jhjv-7rh2","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/dataease/dataease/security/advisories/GHSA-q4qq-jhjv-7rh2","tags":["x_transferred"]},{"url":"https://github.com/dataease/dataease/pull/3328","tags":["x_transferred"]},{"url":"https://github.com/dataease/dataease/commit/956ee2d6c9e81349a60aef435efc046888e10a6d","tags":["x_transferred"]},{"url":"https://github.com/dataease/dataease/releases/tag/v1.15.2","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T12:00:44.107Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-22T15:36:45.636359Z","id":"CVE-2022-39312","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-22T17:17:45.319Z"}}]}}}