CVE-2024-12745

Source
https://cve.org/CVERecord?id=CVE-2024-12745
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12745.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-12745
Aliases
Related
Published
2024-12-24T16:15:08.718Z
Modified
2026-07-15T01:49:17.195275669Z
Severity
  • 8.6 (High) CVSS_V4 - 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 CVSS Calculator
Summary
SQL Injection in the Amazon Redshift Python Connector affecting v2.1.4
Details

A SQL injection in the Amazon Redshift Python Connector v2.1.4 allows a user to gain escalated privileges via the getschemas, gettables, 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12745.json",
    "cna_assigner": "AMZN",
    "cwe_ids": [
        "CWE-89"
    ]
}
References

Affected packages

Git / github.com/aws/amazon-redshift-odbc-driver

Affected ranges

Type
GIT
Repo
https://github.com/aws/amazon-redshift-odbc-driver
Events
Database specific
{
    "source": "CPE_STRING",
    "extracted_events": [
        {
            "introduced": "2.1.4"
        },
        {
            "last_affected": "2.1.4"
        }
    ],
    "cpe": "cpe:2.3:a:amazon:redshift_connector:2.1.4:*:*:*:*:python:*:*"
}
Type
GIT
Repo
https://github.com/aws/amazon-redshift-python-driver
Events
Database specific
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "2.1.4"
        },
        {
            "last_affected": "2.1.4"
        }
    ]
}

Affected versions

2.*
2.1.4
v2.*
v2.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-12745.json"