{"id":"CVE-2022-42965","published":"2022-11-09T00:00:00Z","modified":"2025-05-01T19:19:10Z","title":"Exponential ReDoS in snowflake-connector-python leads to denial of service","vendor":"snowflake-connector-python","product":"snowflake-connector-python","tier":"tail","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","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00956,"percentile":0.62267,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/","tags":[]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":12.45},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"snowflake-connector-python","affectedVersions":[{"vendor":"snowflake-connector-python","product":"snowflake-connector-python","versions":[">= unspecified, < 2.8.2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-01T19:19:00.841362Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"snowflake-connector-python","vulnerableRanges":["<2.8.2"],"patched":["2.8.2"],"from":["GHSA-4r6j-fwcx-94cf","PYSEC-2026-922"],"provenance":"source"}],"summary":{"text":"The snowflake-connector-python PyPI package contains an exponential ReDoS (regular expression denial of service) flaw in its undocumented get_file_transfer_type method, which uses a regular expression with inefficient complexity. An attacker who can supply arbitrary input to that method can trigger excessive backtracking that causes denial of service, with the attack requiring network access and no authentication or user interaction, though attack complexity is high.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:49Z"},"euvd":{"id":"EUVD-2022-7229","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-snowflake-connector-python-cve-2022-42965","children":[{"from":"CVE-2022-42965","to":"CVE-2025-24793","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/snowflake/connector/cursor.py"],"commits":["https://github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091","https://github.com/snowflakedb/snowflake-connector-python/commit/f3f9b666518d29c31a49384bbaa9a65889e72056"],"basis":"rarely changed file"}]}]}}