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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-11-09 · Modified: 2025-05-01
- Aliases: GHSA-4r6j-fwcx-94cf, PYSEC-2026-922
- Record: https://cvemate.com/vulnerability/CVE-2022-42965 · JSON: https://cvemate.com/vulnerability/CVE-2022-42965/json

## Description

```text
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
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.948%, percentile 62.37%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- PyPI snowflake-connector-python (PyPI): \< 2.8.2
- snowflake-connector-python snowflake-connector-python: ≥ unspecified, \< 2.8.2
- snowflake snowflake\_connector: \< 2.8.2

## References

- <https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-42965>
- <https://github.com/snowflakedb/snowflake-connector-python/pull/1327>
- <https://github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091>
- <https://github.com/snowflakedb/snowflake-connector-python>
- <https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2>
- <https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185>
- <https://pypi.org/project/snowflake-connector-python>
- <https://github.com/advisories/GHSA-4r6j-fwcx-94cf>

---

Data as of 2026-12-05T13:05:44.463Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
