10

CVE-2024-32888: Amazon JDBC Driver for Redshift SQL Injection via line comment generation

Deferred
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) vulnerability in aws amazon-redshift-jdbc-driver. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 57.2% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 10 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
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 listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

57%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.78% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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