SQL Injection Affecting snowflake-connector-python package, versions [2.2.5,3.13.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-8674928
  • published30 Jan 2025
  • disclosed29 Jan 2025
  • creditUnknown

Introduced: 29 Jan 2025

NewCVE-2025-24793  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade snowflake-connector-python to version 3.13.1 or higher.

Overview

snowflake-connector-python is a Snowflake Connector for Python

Affected versions of this package are vulnerable to SQL Injection in the write_pandas function, due to missing sanitization.

Note: Only a limited set of query types are not properly parameterized, and any SQL executed by the attacker will run in the context of the current session only.

CVSS Scores

version 4.0
version 3.1