CVE-2024-12745 json
SQL Injection in the Amazon Redshift Python Connector affecting v2.1.4
published 2024-12-24 22 mo ago modified 2026-09-10 1 mo ago also GHSA-8gc2-vq6m-rwjw , PYSEC-2026-1866 , EUVD-2024-3568
- cvss
- 8.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi redshift-connector 2.1.5
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 22 mo ago
Exploit prediction
0.53% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 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 | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | redshift-connector | >=2.1.4, <2.1.5 |
2.1.5 |
Affected products
- Amazon Amazon Redshift Python Connector
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/aws/amazon-redshift-python-driver/releases/tag/v2.1.5
patch, web, release-notes
-
github.com
/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw
vendor-advisory, web, mitigation
-
aws.amazon.com
/security/security-bulletins/AWS-2024-015/
vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-12745
advisory
-
aws.amazon.com
/security/security-bulletins/AWS-2024-015
web
-
github.com
/aws/amazon-redshift-python-driver
package
-
pypi.org
/project/redshift-connector
package
-
github.com
/advisories/GHSA-8gc2-vq6m-rwjw
advisory
Sources
- CVE List CVE-2024-12745
- GitHub Advisory GHSA-8gc2-vq6m-rwjw
- NVD CVE-2024-12745
- OSV PYSEC-2026-1866
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.