CVE-2024-49750: The Snowflake Connector for Python stores sensitive data in logs

CVE-2024-49750 · Severity: low · CVSS 3.1 · Published 2024-10-24

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Prior to version 3.12.3, when the logging level was set by the user to DEBUG, the Connector could have logged Duo passcodes (when specified via the `passcode` parameter) and Azure SAS tokens. Additionally, the SecretDetector logging formatter, if enabled, contained bugs which caused it to not fully redact JWT tokens and certain private key formats. Snowflake released version 3.12.3 of the Snowflake Connector for Python, which fixes the issue. In addition to upgrading, users should review their logs for any potentially sensitive information that may have been captured.

Technologies: snowflake-connector-python (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-49750 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-49750 being exploited in the wild.
How severe is CVE-2024-49750?
Low severity, with a CVSS score of 3.1, published 24 October 2024.
Which products and versions are affected?
snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.3, GIT:introduced=0,fixed=dbc9284a3c0382c131b971b35e8d6ab93c46f37a|ECOSYSTEM:introduced=0,fixed=3.12.3.
Is there a fix for CVE-2024-49750?
Yes. snowflake-connector-python (PyPI): upgrade to 3.12.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-49750?
Check whether you run snowflake-connector-python (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • snowflake-connector-python (PyPI): upgrade to 3.12.3 or later
    pip install "snowflake-connector-python>=3.12.3"

Affected products

  • snowflake-connector-python (PyPI) ECOSYSTEM:introduced=0,fixed=3.12.3, GIT:introduced=0,fixed=dbc9284a3c0382c131b971b35e8d6ab93c46f37a|ECOSYSTEM:introduced=0,fixed=3.12.3

Identifiers

  • CVE-2024-49750
  • GHSA-5vvg-pvhp-hv2m
  • PYSEC-2024-191

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.