{"schemaVersion":3,"id":"CVE-2022-42965","aliases":["GHSA-4r6j-fwcx-94cf","PYSEC-2026-922"],"status":"published","duplicateOf":null,"title":null,"description":"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","dates":{"published":"2022-11-09T00:00:00.000Z","modified":"2025-05-01T19:19:10.818Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":5.6,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0088,"percentile":0.58416,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.018000000000000134,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00862},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0088,"percentile":0.58416}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00862,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0088,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0088,"percentile":0.58416}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_85C25773DCD9D1F0","name":"Exploit Reference (research.jfrog.com)","source":"reference","url":"https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity","description":"The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/1333.html"}],"affected":[{"vendor":"PyPI","product":"snowflake-connector-python","name":"snowflake-connector-python","label":"snowflake-connector-python","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/snowflake-connector-python","purlType":"pypi","versions":[{"text":"< 2.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2","eol":null,"hubHref":null},{"vendor":"snowflake-connector-python","product":"snowflake-connector-python","name":"snowflake-connector-python","label":"snowflake-connector-python","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 2.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 2.8.2","eol":null,"hubHref":"/vendor/snowflake-connector-python/snowflake-connector-python"},{"vendor":"snowflake","product":"snowflake_connector","name":"snowflake connector","label":"snowflake_connector","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.2","eol":null,"hubHref":"/vendor/snowflake/snowflake_connector"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/","label":"research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/","hostname":"research.jfrog.com","tags":["Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42965","label":"nvd.nist.gov/vuln/detail/CVE-2022-42965","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/pull/1327","label":"github.com/snowflakedb/snowflake-connector-python/pull/1327","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091","label":"github.com/snowflakedb/snowflake-connector-python/commit/b9d2fc789fae4db865dde3d2a1bd72c8a9eab091","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python","label":"github.com/snowflakedb/snowflake-connector-python","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2","label":"github.com/snowflakedb/snowflake-connector-python/releases/tag/v2.8.2","hostname":"github.com","tags":["WEB"]},{"url":"https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185","label":"research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185","hostname":"research.jfrog.com","tags":["WEB"]},{"url":"https://pypi.org/project/snowflake-connector-python","label":"pypi.org/project/snowflake-connector-python","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-4r6j-fwcx-94cf","label":"github.com/advisories/GHSA-4r6j-fwcx-94cf","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-11-09T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-05-01T19:19:10.818Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T10:28:09.591Z","stale":false,"partial":false}}