High

Amazon Redshift JDBC Driver vulnerable to SQL Injection

  • Disclosed: 26.12.2024
  • Updated: 11.10.2026 12:22

Summary

A SQL injection in the Amazon Redshift JDBC Driver in v2.1.0.31 allows a user to gain escalated privileges via schema injection in the getSchemas, getTables, or getColumns Metadata APIs. Users should upgrade to the driver version 2.1.0.32 or revert to driver version 2.1.0.30.

Impact

A SQL injection is possible in the Amazon Redshift JDBC Driver, version 2.1.0.31, when leveraging metadata APIs to retrieve information about database schemas, tables, or columns.

Impacted versions: Amazon Redshift JDBC Driver version 2.1.0.31.

Patches

The issue described above has been addressed in the Amazon Redshift JDBC Driver, version 2.1.0.32.

The patch implemented in this version ensures that every metadata command input is sent to the Redshift server as part of a parameterized query, using either QUOTE_IDENT(string) or QUOTE_LITERAL(string). After processing all the inputs into quoted identifiers or literals, the metadata command is composed using these inputs and then executed on the server.

Workarounds

Use the previous version of the Amazon Redshift JDBC Driver, 2.1.0.30.

References

If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) com.amazon.redshift:redshift-jdbc42 >= 2.1.0.31, < 2.1.0.32 2.1.0.32

References

CVSS score 8/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Platform
Java / Kotlin (Maven)
Package
com.amazon.redshift:redshift-jdbc42
Disclosed
26.12.2024
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-8596-2jgr-ppj7 - CC BY 4.0

Vulnerability history: com.amazon.redshift:redshift-jdbc42

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
10.2022 05.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 2
  4. 2025: 0
  5. 2026: 1
  1. Amazon Redshift JDBC Driver vulnerable to SQL Injection this entry
    High · 8.0 CVE-2024-12744 >= 2.1.0.31, < 2.1.0.32 2.1.0.32
  2. Critical · 10.0 CVE-2024-32888 < 2.1.0.28 2.1.0.28

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.