Skip to content
Heist/ feed
Back to feed
Low

Exponential ReDoS in snowflake-connector-python leads to denial of service

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-42965
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 17:04 UTC · Revision 1

Source evidence

Exponential ReDoS in snowflake-connector-python leads to denial of service

core-osv · Original source

Published 9 Nov 2022, 00:00 UTC

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

osv:CVE-2022-42965
Complete source record
{
  "id": "86e999a559f414e218d43a2309626c184f04d5bfde0bc7d2da29b5deeb362d6c",
  "url": "https://osv.dev/vulnerability/CVE-2022-42965",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Exponential ReDoS in snowflake-connector-python leads to denial of service",
    "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",
    "evidence": "osv:CVE-2022-42965",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2022-42965",
      "aliases": [
        "CVE-2022-42965",
        "GHSA-4r6j-fwcx-94cf",
        "PYSEC-2026-922"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/snowflakedb/snowflake-connector-python",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d016d816ee80095ecbd590cdb1fb090510d78be7"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.8.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v2.2.3",
            "v2.8.1",
            "v2.8.0",
            "v2.7.12",
            "v2.7.11",
            "v2.7.10",
            "v2.7.9",
            "v2.7.8",
            "v2.7.7",
            "v2.7.6",
            "v2.7.5",
            "v2.7.4",
            "v2.7.3",
            "v2.7.2",
            "v2.7.0",
            "v2.6.1",
            "v2.5.0",
            "v2.4.6",
            "v2.4.4",
            "v2.4.3",
            "v2.4.2",
            "v2.4.1",
            "v2.4.0",
            "v2.3.10",
            "v2.3.8",
            "v2.3.4",
            "v2.3.2",
            "v2.3.1",
            "v2.3.0",
            "v2.2.10",
            "v2.2.9",
            "v2.2.8",
            "v2.2.7",
            "v2.2.6",
            "v2.2.5",
            "v2.25",
            "v2.2.4",
            "v2.2.2",
            "v2.2.1",
            "v2.2.0",
            "v2.1.3",
            "v2.1.2",
            "v2.1.1",
            "v2.1.0",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.9.0",
            "v1.8.7",
            "v1.8.6",
            "v1.8.5",
            "v1.8.4",
            "v1.8.3",
            "v1.8.2",
            "v1.8.1",
            "v1.8.0",
            "v.1.7.11",
            "v1.7.10",
            "v1.7.9",
            "v1.7.8",
            "v1.7.7",
            "v1.7.6",
            "v1.7.5",
            "v1.7.4",
            "v1.7.3",
            "v1.7.2",
            "v1.7.1",
            "v1.7.0",
            "v1.6.12",
            "v1.6.11",
            "v1.6.10",
            "v1.6.9",
            "v1.6.8",
            "v1.6.7",
            "v1.6.6",
            "v1.6.5",
            "v1.6.4",
            "v1.6.3",
            "v1.6.2",
            "v1.6.1",
            "v1.6.0",
            "v1.5.8",
            "v1.5.7",
            "v1.5.6",
            "v1.5.5",
            "v1.5.4",
            "v1.5.3",
            "v1.5.1",
            "v1.5.0",
            "v1.4.17",
            "v1.4.16",
            "v1.4.15",
            "v1.4.14",
            "v1.4.13",
            "v1.4.12",
            "v1.4.11",
            "v1.4.10",
            "v1.4.9",
            "v1.4.8",
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.18",
            "v1.3.17",
            "v1.3.16",
            "v1.3.14",
            "v1.3.13",
            "v1.3.12",
            "v1.3.11",
            "v1.3.10",
            "v1.3.9",
            "v1.3.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-42965.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:21.286331593Z",
      "provider": "osv",
      "references": [
        "https://research.jfrog.com/vulnerabilities/snowflake-connector-python-redos-xray-257185/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42965.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-42965"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1333"
        ],
        "cna_assigner": "JFROG",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2.8.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "SplitRange"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42965.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-42965",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 487427,
  "published_at": "2022-11-09T00:00:00+00:00"
}