Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. redshift_connector
  4. ›
  5. CVE-2024-12745

CVE-2024-12745: Amazon Redshift Python Connector vulnerable to SQL Injection

December 26, 2024

A SQL injection in the Amazon Redshift Python Connector in version 2.1.4 allows a user to gain escalated privileges via schema injection in the get_schemas, get_tables, or get_columns Metadata APIs. Users should upgrade to the driver version 2.1.5 or revert to driver version 2.1.3.

References

  • aws.amazon.com/security/security-bulletins/AWS-2024-015
  • github.com/advisories/GHSA-8gc2-vq6m-rwjw
  • github.com/aws/amazon-redshift-python-driver
  • github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-8gc2-vq6m-rwjw
  • nvd.nist.gov/vuln/detail/CVE-2024-12745

Code Behaviors & Features

Detect and mitigate CVE-2024-12745 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.1.4 before 2.1.5, version 2.1.4

Fixed versions

  • 2.1.5

Solution

Upgrade to version 2.1.5 or above.

Impact 8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/redshift_connector/CVE-2024-12745.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:15:04 +0000.