{"id":"CVE-2022-42965","aliases":["GHSA-4r6j-fwcx-94cf","PYSEC-2026-922"],"title":"snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)","summary":"snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)","severity":"medium","cvss":5.9,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","vendor":"snowflake-connector-python","product":"snowflake-connector-python","ecosystem":"pip","affected":["snowflake-connector-python < 2.8.2"],"patched":["snowflake-connector-python 2.8.2"],"published":"2022-11-10","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-4r6j-fwcx-94cf","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42965"},{"url":"https://github.com/snowflakedb/snowflake-connector-python/pull/1327"},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091"},{"url":"https://github.com/snowflakedb/snowflake-connector-python"},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2"},{"url":"https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185"}],"tags":["osv","pip"],"epss":0.00862,"epssPercentile":0.56559,"ingestedAt":"2026-07-08T18:25:45.534Z","slug":"CVE-2022-42965","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `snowflake-connector-python < 2.8.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `snowflake-connector-python 2.8.2`","depth":"sunlit","depthScore":33,"depthScoreParts":{"impact":32.5,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}