CVE-2024-12745
HIGH 8.6CVSS 4.0Amazon Redshift Python Connector vulnerable to SQL Injection
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.
- Published
- 24 Dec 2024
- Last modified
- 10 Sep 2026
- Assigned by
- ff89ba41-3aa1-4d27-914a-91399e9639e5
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-8gc2-vq6m-rwjwPYSEC-2026-1866
- Sources
- NVDJSONOSV GHSA-8gc2-vq6m-rwjwJSONOSV PYSEC-2026-1866JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 4.0 | HIGH 8.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | ff89ba41-3aa1-4d27-914a-91399e9639e5 (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | redshift_connectorcpe:2.3:a:amazon:redshift_connector:2.1.4:*:*:*:*:python:*:* |
= 2.1.4 | |
| OSV | PyPI | redshift-connector | >= 2.1.4, < 2.1.5 | 2.1.5 |
References
- https://aws.amazon.com/security/security-bulletins/AWS-2024-015/ · Vendor Advisory, WEB
- https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5 · Release Notes, WEB
- https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-12745 · ADVISORY
- https://github.com/aws/amazon-redshift-python-driver · PACKAGE
- https://pypi.org/project/redshift-connector · PACKAGE
- https://github.com/advisories/GHSA-8gc2-vq6m-rwjw · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 24 Dec 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Dec 2024)