Advisory

PYSEC-2026-922

Also known as: CVE-2022-42965, GHSA-4r6j-fwcx-94cf

Summary

snowflake-connector-python is vulnerable to Regular Expression Denial of Service (ReDoS)

Details

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 get_file_transfer_type method.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-07 10:17 UTC
Modified
2026-07-07 11:45 UTC

Affected packages and fixes

snowflake-connector-python

PyPI · All systems

Affected

  • introduced 0, fixed 2.8.2 (ecosystem)

Fixed versions

2.8.2

Fix

  • Fixed version 2.8.2
    pip install --upgrade snowflake-connector-python==2.8.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences