CVE-2022-42965
HIGH 7.5CVSS 3.1snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)
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
- Published
- 9 Nov 2022
- Last modified
- 7 Jul 2026
- Assigned by
- reefs@jfrog.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-4r6j-fwcx-94cfPYSEC-2026-922
- Sources
- NVDJSONOSV GHSA-4r6j-fwcx-94cfJSONOSV PYSEC-2026-922JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | reefs@jfrog.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | snowflake | snowflake_connectorcpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:python:*:* |
< 2.8.2 | 2.8.2 |
| OSV | PyPI | snowflake-connector-python | < 2.8.2 | 2.8.2 |
References
- https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/ · Exploit, Third Party Advisory, WEB
- 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://pypi.org/project/snowflake-connector-python · PACKAGE
- https://github.com/advisories/GHSA-4r6j-fwcx-94cf · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 9 Nov 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Nov 2022)