CVE-2024-12746 SQL Injection in the Amazon Redshift ODBC Driver affecting v2.1.5.0

High 8.6 Published Updated

A SQL injection vulnerability in the Amazon Redshift ODBC Driver allows attackers to escalate privileges via metadata APIs.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-12746?

CVE-2024-12746 is a high-severity SQL injection vulnerability in Amazon Redshift ODBC Driver, published on 24 Dec 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A SQL injection in the Amazon Redshift ODBC Driver v2.1.5.0 (Windows or Linux) allows a user to gain escalated privileges via the SQLTables or SQLColumns Metadata APIs. Users are recommended to upgrade to the driver version 2.1.6.0 or revert to driver version 2.1.4.0.

Weakness: CWE-89

Which versions are affected by CVE-2024-12746?

It affects 1 product.

Products include Amazon Redshift Odbc Driver.

How do I fix CVE-2024-12746?

No fix has been published for CVE-2024-12746 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2024-12746 being exploited?

There is no known exploitation of CVE-2024-12746 in the wild and no public exploit code.

Sources

Also known as GHSA-g63m-5vjv-wr3v.

Is CVE-2024-12746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free