{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-12745","id":"CVE-2024-12745","title":"SQL Injection in the Amazon Redshift Python Connector affecting v2.1.4","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.","descriptionLong":"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":"2024-12-24T16:15:08.718Z","updated":"2026-10-28T02:31:09.397922494Z","reserved":"2024-12-18T01:02:13.095Z","status":"Analyzed","rejected":false,"assigner":"AMZN","metric":{"version":"4.0","score":8.6,"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","rating":"high","source":"AMZN"},"metrics":[{"version":"4.0","score":8.6,"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","rating":"high","source":"AMZN"},{"version":"4.0","score":8.6,"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/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","rating":"high","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"AMZN"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"ff89ba41-3aa1-4d27-914a-91399e9639e5"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"3.1","score":8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Amazon Redshift Python Connector"],"affectedProducts":[{"vendor":"Amazon","product":"Amazon Redshift Python Connector","defaultStatus":"unaffected","versions":[{"status":"affected","version":"2.1.4"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"redshift-connector","purl":"pkg:pypi/redshift-connector","ranges":[">=2.1.4 <2.1.5"],"fixed":["2.1.5"],"advisory":"GHSA-8gc2-vq6m-rwjw"}],"cwes":["CWE-89"],"aliases":["GHSA-8gc2-vq6m-rwjw","PYSEC-2026-1866"],"references":[{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw","tags":["vendor-advisory","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2024-015/","tags":["vendor-advisory","Vendor Advisory","advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.5","tags":["patch","Release Notes","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12745.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12745","tags":["advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver","tags":["package"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2024-015","tags":["web"]},{"url":"https://pypi.org/project/redshift-connector","tags":["package"]},{"url":"https://github.com/advisories/GHSA-8gc2-vq6m-rwjw","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00526,"epssPercentile":0.45355,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-12745","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12745","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-12745","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8gc2-vq6m-rwjw","ok":true,"note":"GHSA-8gc2-vq6m-rwjw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-12745","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}