MEDIUM 5.9
PYSEC-2026-922
snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)
Details
An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the snowflake-connector-python PyPI package, when an attacker is able to supply arbitrary input to the get_file_transfer_type method.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI / snowflake-connector-python
Introduced in:
0 Fixed in: 2.8.2 Fix
pip install --upgrade 'snowflake-connector-python>=2.8.2' References
- https://nvd.nist.gov/vuln/detail/CVE-2022-42965 [ADVISORY]
- https://github.com/snowflakedb/snowflake-connector-python/pull/1327 [WEB]
- https://github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091 [WEB]
- https://github.com/snowflakedb/snowflake-connector-python [PACKAGE]
- https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2 [WEB]
- https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185 [WEB]
- https://pypi.org/project/snowflake-connector-python [PACKAGE]
- https://github.com/advisories/GHSA-4r6j-fwcx-94cf [ADVISORY]