CVE-2024-32888: aws amazon-redshift-jdbc-driver SQL Injection
Vulnerability summary
CVE-2024-32888 is a critical (CVSS 10.0) SQL Injection vulnerability in aws amazon-redshift-jdbc-driver. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 3Timeline
- 15-05-2024PublishedVulnerability first disclosed.
- 12-06-2025Last modifiedVulnerability information updated.
Description
The Amazon JDBC Driver for Redshift is a Type 4 JDBC driver that provides database connectivity through the standard JDBC application program interfaces (APIs) available in the Java Platform, Enterprise Editions. Prior to version 2.1.0.28, SQL injection is possible when using the non-default connection property `preferQueryMode=simple` in combination with application code which has a vulnerable SQL that negates a parameter value. There is no vulnerability in the driver when using the default, extended query mode. Note that `preferQueryMode` is not a supported parameter in Redshift JDBC driver, and is inherited code from Postgres JDBC driver. Users who do not override default settings to utilize this unsupported query mode are not affected. This issue is patched in driver version 2.1.0.28. As a workaround, do not use the connection property `preferQueryMode=simple`. (NOTE: Those who do not explicitly specify a query mode use the default of extended query mode and are not affected by this issue.)
CVSS metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- OSV · MavenEcosystem advisory · calculated10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- NVDNIST10.0CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
0.00 pp
From 0.78% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard59 products
- trino< 472-r0
- trino-config< 472-r0
- trino-oci-entrypoint< 472-r0
- trino-plugin-ai-functions< 472-r0
- trino-plugin-bigquery< 472-r0
Wolfi59 products
- trino< 472-r0
- trino-config< 472-r0
- trino-oci-entrypoint< 472-r0
- trino-plugin-ai-functions< 472-r0
- trino-plugin-bigquery< 472-r0
Aws1 product
- amazon-redshift-jdbc-driver< 2.1.0.28
Com.amazon.redshift1 product
- redshift-jdbc42< 2.1.0.28
4 vendors · 120 products
References
10 links- github.com/aws/amazon-redshift-jdbc-driver/security/advisories/GHSA-x3wm-hffr-chwmX Refsource CONFIRMAdvisoryWEB