CVE-2024-47881: Jdbc Uri Ssp Parameter Injection

Constructing a JDBC URI dynamically by passing unsanitized input as the Schema Specific Part (SSP) can lead to parameter injection. Attackers can embed query parameters (e.g., '?enable_load_extension=true' for SQLite) to alter database connection behavior or potentially execute arbitrary code. Ensure user input does not contain '?' characters, or append expl

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2024-47881-jdbc-uri-ssp-parameter-injection --engine opengrep

Description

Constructing a JDBC URI dynamically by passing unsanitized input as the Schema Specific Part (SSP) can lead to parameter injection. Attackers can embed query parameters (e.g., '?enable_load_extension=true' for SQLite) to alter database connection behavior or potentially execute arbitrary code. Ensure user input does not contain '?' characters, or append expl