{"id":"CVE-2024-12745","published":"2024-12-24T16:15:08Z","modified":"2025-10-14T18:58:13Z","title":"SQL Injection in the Amazon Redshift Python Connector affecting v2.1.4","vendor":"Amazon","product":"Amazon Redshift Python Connector","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00526,"percentile":0.45495,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw","tags":["vendor-advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2024-015/","tags":["vendor-advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5","tags":["patch"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.1},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"amazon","affectedVersions":[{"vendor":"Amazon","product":"Amazon Redshift Python Connector","versions":["2.1.4"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"},{"id":"CAPEC-66","name":"SQL Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-12-25T02:38:53.921193Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"redshift_connector","vulnerableRanges":[">=2.1.4, <2.1.5"],"patched":["2.1.5"],"from":["GHSA-8gc2-vq6m-rwjw","PYSEC-2026-1866"],"provenance":"source"}],"summary":{"text":"The Amazon Redshift Python Connector (v2.1.4) contains a SQL injection flaw in its get_schemas, get_tables, and get_columns Metadata APIs. An attacker who can get a user to act on their behalf (user interaction) and who holds low-privilege credentials on the network-reachable service can exploit it to escalate privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:32:12Z"},"euvd":{"id":"EUVD-2024-3568","exploited":false,"provenance":"source"}}