SQL Injection in Amazon Redshift Python Connector
CVE-2024-12745
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.005, 45.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Amazon Redshift Python Connector — versions 2.1.4
- Amazon Redshift Connector — versions 2.1.4
Weakness classification (CWE)
References
- github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m… (vendor-advisory, Mitigation, Vendor Advisory)
- aws.amazon.com/security/security-bulletins/AWS-2024-015/ (vendor-advisory, Vendor Advisory)
- github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5 (Release Notes, patch)