{"id":"CVE-2024-12746","summary":"SQL Injection in the Amazon Redshift ODBC Driver affecting v2.1.5.0","details":"A SQL injection in the Amazon Redshift ODBC Driver v2.1.5.0 (Windows or Linux) allows a user to gain escalated privileges via the SQLTables or SQLColumns Metadata APIs. Users are recommended to upgrade to the driver version 2.1.6.0 or revert to driver version 2.1.4.0.","aliases":["GHSA-g63m-5vjv-wr3v"],"modified":"2026-08-12T03:51:39.592687309Z","published":"2024-12-24T16:16:37.499Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"introduced":"2.1.5.0"},{"last_affected":"2.1.5.0"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"AMZN","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12746.json"},"references":[{"type":"ADVISORY","url":"https://aws.amazon.com/security/security-bulletins/AWS-2024-015/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12746.json"},{"type":"ADVISORY","url":"https://github.com/aws/amazon-redshift-odbc-driver/security/advisories/GHSA-g63m-5vjv-wr3v"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12746"},{"type":"FIX","url":"https://github.com/aws/amazon-redshift-odbc-driver/releases/tag/v2.1.6"},{"type":"PACKAGE","url":"https://github.com/aws/amazon-redshift-odbc-driver"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aws/amazon-redshift-odbc-driver","events":[{"introduced":"0"},{"fixed":"ffd6c87492547a6da9f6c55474155f0295fe1fff"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v2.1.5","v2.1.4","v2.1.3","v2.1.2","v2.1.1","v2.1.0.0","v2.0.1.0","v2.0.0.11","v2.0.0.9","v2.0.0.8","v2.0.0.7","v2.0.0.6","v2.0.0.5","v2.0.0.3","v2.0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12746.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}