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
Downstream
CGA (4)
Published
2024-12-24T16:15:08Z
Modified
2026-10-28T02:31:09Z
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 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.

Database specific
{
    "cna_assigner": "AMZN",
    "cwe_ids": [
        "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/12xxx/CVE-2024-12745.json"
}
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
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:amazon:redshift_connector:2.1.4:*:*:*:*:python:*:*",
            "range": [
                {
                    "introduced": "2.1.4"
                },
                {
                    "last_affected": "2.1.4"
                }
            ],
            "source": "CPE_STRING"
        }
    ]
}
Type
GIT
Repo
https://github.com/aws/amazon-redshift-python-driver
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "2.1.4"
                },
                {
                    "last_affected": "2.1.4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "original_tag": "v2.1.5",
            "range": [
                {
                    "fixed": "287359102590d8a4d8181708febc9792fc487e27"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

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"