{"cve":"CVE-2024-12745","nvd":{"published":"2024-12-24T17:15:08.150","modified":"2026-06-17T07:00:23.813","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":8.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":8.0},"cwes":["CWE-89"],"references":["https://aws.amazon.com/security/security-bulletins/AWS-2024-015/","https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5","https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw"],"products":["amazon:redshift_connector"],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-12745","score":0.00526,"percentile":0.44609,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8gc2-vq6m-rwjw","url":"https://osv.dev/vulnerability/GHSA-8gc2-vq6m-rwjw","summary":"Amazon Redshift Python Connector vulnerable to SQL Injection","modified":"2026-09-10T03:50:56.154514489Z","packages":[{"ecosystem":"PyPI","name":"redshift-connector","purl":"pkg:pypi/redshift-connector","ranges":[">=2.1.4 <2.1.5"],"fixed":["2.1.5"]}]},{"id":"PYSEC-2026-1866","url":"https://osv.dev/vulnerability/PYSEC-2026-1866","summary":"Amazon Redshift Python Connector vulnerable to SQL Injection","modified":"2026-07-07T17:47:19.202159398Z","packages":[{"ecosystem":"PyPI","name":"redshift-connector","purl":"pkg:pypi/redshift-connector","ranges":[">=2.1.4 <2.1.5"],"fixed":["2.1.5"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}