CVE-2024-12744
Java vulnerability analysis and mitigation

Overview

A SQL injection vulnerability (CVE-2024-12744) was discovered in Amazon Redshift JDBC Driver version 2.1.0.31. The vulnerability was disclosed on December 24, 2024, affecting the driver's metadata APIs specifically through the getSchemas, getTables, and getColumns functions. This security flaw allows users to potentially gain escalated privileges through SQL injection attacks (AWS Security Bulletin, GitHub Advisory).

Technical details

The vulnerability stems from improper handling of user-supplied input in the metadata APIs of the Redshift JDBC Driver. The flaw has been assigned a CVSS v3.1 base score of 8.0 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H, and a CVSS v4.0 score of 8.6 with the vector string 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. The vulnerability is classified as CWE-89 (SQL Injection) (NVD).

Impact

When exploited, this vulnerability could allow attackers to execute SQL injection attacks through the metadata APIs, potentially leading to unauthorized access, data modification, or deletion of sensitive information. The high severity scores indicate significant potential impact on system confidentiality, integrity, and availability (Security Online).

Mitigation and workarounds

AWS has released version 2.1.0.32 of the Redshift JDBC Driver to address this vulnerability. The patch implements proper input handling by ensuring all metadata command inputs are processed using parameterized queries with QUOTEIDENT(string) or QUOTELITERAL(string) functions. As a temporary workaround, users can also revert to the previous unaffected version 2.1.0.30 (AWS Security Bulletin, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management