10

CVE-2024-32888: aws amazon-redshift-jdbc-driver SQL Injection

CVSS: 10.0v3.1CriticalDeferred
AliasesCGA-22cf-fm9r-9wwmCGA-2489-6pm8-r6j5CGA-28r7-23pq-q755
Published 15-05-2024Last modified 12-06-2025

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.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
10.0/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.78%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 3

Timeline

  1. 15-05-2024
    PublishedVulnerability first disclosed.
  2. 12-06-2025
    Last 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

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

18-09-202618-10-2026
EPSS score
0.78%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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
Com.amazon.redshift1 product
  • redshift-jdbc42< 2.1.0.28

4 vendors · 120 products

References

10 links