Amazon Redshift Python Connector SQL Injection Vulnerability in Metadata APIs
CVE-2024-12745 Published on December 24, 2024

SQL Injection in the Amazon Redshift Python Connector affecting v2.1.4
A SQL injection in the Amazon Redshift Python Connector v2.1.4 allows a user to gain escalated privileges via the get_schemas, get_tables, or get_columns Metadata APIs. Users are recommended to upgrade to the driver version 2.1.5 or revert to driver version 2.1.3.

Github Repository Vendor Advisory Vendor Advisory NVD

Vulnerability Analysis

CVE-2024-12745 can be exploited with network access, requires user interaction and a small amount of user privileges. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be very high.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
REQUIRED
Scope:
UNCHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
HIGH

Weakness Type

What is a SQL Injection Vulnerability?

The software constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component.

CVE-2024-12745 has been classified to as a SQL Injection vulnerability or weakness.


Products Associated with CVE-2024-12745

Want to know whenever a new CVE is published for Amazon Aws? stack.watch will email you.

 

Affected Versions

Amazon Redshift Python Connector Version 2.1.4 is affected by CVE-2024-12745

Vulnerable Packages

The following package name and versions may be associated with CVE-2024-12745

Package Manager Vulnerable Package Versions Fixed In
pip redshift_connector = 2.1.4 2.1.5

Exploit Probability

EPSS
0.66%
Percentile
70.92%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.