CVE-2022-42965 json
Exponential ReDoS in snowflake-connector-python leads to denial of service
published 4y ago modified 4mo ago also GHSA-4r6j-fwcx-94cf , PYSEC-2026-922 , EUVD-2022-7229
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- pypi snowflake-connector-python 2.8.2
- snowflake-connector-python snowflake-connector-python 2.8.2
Is CVE-2022-42965 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- research.jfrog.com https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | snowflake-connector-python | <2.8.2 |
2.8.2 |
Affected products
- snowflake-connector-python snowflake-connector-python
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/snowflakedb/snowflake-connector-python/pull/1327
web
-
github.com
/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091
web
-
research.jfrog.com
/vulnerabilities/snowflake-connector-python-redos-xray-257185/
exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-42965
advisory
-
github.com
/snowflakedb/snowflake-connector-python
package
-
github.com
/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2
web
-
research.jfrog.com
/vulnerabilities/snowflake-connector-python-redos-xray-257185
web
-
pypi.org
/project/snowflake-connector-python
package
-
github.com
/advisories/GHSA-4r6j-fwcx-94cf
advisory
Sources
- CVE List CVE-2022-42965
- GitHub Advisory GHSA-4r6j-fwcx-94cf
- NVD CVE-2022-42965
- OSV PYSEC-2026-922
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.