CVE-2025-58748: Dataease Jdbc Url Scheme Not Validated

A DatasourceConfiguration subclass exposes getJdbc() that validates illegal URL parameter tokens but does not assert that the JDBC URL starts with the expected driver scheme prefix (e.g., "jdbc:h2"). Because the configuration's driver/URL fields are attacker-controllable, an attacker can substitute a different driver (e.g., com.amazon.redshift.jdbc42.Driver)

Provally CuratedPublic repositoryHighHigh confidenceVerifiedApache-2.0Java
greprules fetch cve-2025-58748-dataease-jdbc-url-scheme-not-validated --engine opengrep

Description

A DatasourceConfiguration subclass exposes getJdbc() that validates illegal URL parameter tokens but does not assert that the JDBC URL starts with the expected driver scheme prefix (e.g., "jdbc:h2"). Because the configuration's driver/URL fields are attacker-controllable, an attacker can substitute a different driver (e.g., com.amazon.redshift.jdbc42.Driver)