Home / aws / amazon-redshift-jdbc-driver / CVE-2024-32888
CVE-2024-32888: is it exploited, and which versions of aws amazon-redshift-jdbc-driver are affected and fixed?
CVE-2024-32888 is a SQL injection vulnerability in aws amazon-redshift-jdbc-driver. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: com.amazon.redshift:redshift-jdbc42 before 2.1.0.28 (GitHub advisory GHSA-x3wm-hffr-chwm). Fixed in 2.1.0.28 (GitHub advisory GHSA-x3wm-hffr-chwm). Severity: Critical (10.0, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2024-32888?
Amazon JDBC Driver for Redshift SQL Injection via line comment generation
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.)
From the CVE record by GitHub_M, last updated June 12, 2025, 15:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| aws | amazon-redshift-jdbc-driver | < 2.1.0.28 |
As the CVE record by GitHub_M states it, last updated June 12, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | com.amazon.redshift:redshift-jdbc42 | < 2.1.0.28 | 2.1.0.28 | GHSA-x3wm-hffr-chwm |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 13, 2025. Summary: Amazon JDBC Driver for Redshift SQL Injection via line comment generation.
How severe is CVE-2024-32888?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-32888 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, May 15, 2024)
- EPSS
- 0.78% probability of exploitation activity in the next 30 days, percentile 57.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/aws/amazon-redshift-jdbc-driver/security/advisories/GHSA-x3wm-hffr-chwm x_refsource_CONFIRM
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-24rp-q3w6-vc56 x_refsource_MISC
- https://github.com/aws/amazon-redshift-jdbc-driver/commit/0d354a5f26ca23f7cac4e800e3b8734220230319 x_refsource_MISC
- https://github.com/aws/amazon-redshift-jdbc-driver/commit/12a5e8ecfbb44c8154fc66041cca2e20ecd7b339 x_refsource_MISC
- https://github.com/aws/amazon-redshift-jdbc-driver/commit/bc93694201a291493778ce5369a72befeca5ba7d x_refsource_MISC
- https://www.sonarsource.com/blog/double-dash-double-trouble-a-subtle-sql-injection-flaw/
When was it published, and where is the official record?
- Reserved
- April 19, 2024
- Published
- May 15, 2024, 02:16 UTC
- CVE record updated
- June 12, 2025, 15:33 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:30 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect amazon-redshift-jdbc-driver?
- Nov 3, 2026CVE-2026-119084 AWS amazon-redshift-jdbc-driver: unsafe reflection
Every CVE in amazon-redshift-jdbc-driver
Questions about CVE-2024-32888
Is CVE-2024-32888 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.78% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of aws amazon-redshift-jdbc-driver are affected by CVE-2024-32888?
com.amazon.redshift:redshift-jdbc42 before 2.1.0.28, per the GitHub advisory GHSA-x3wm-hffr-chwm. The tables above give every range the sources list.
Which version fixes CVE-2024-32888?
2.1.0.28, per the GitHub advisory GHSA-x3wm-hffr-chwm. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-32888?
Critical (10.0, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-32888?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.