CVE-2024-49750: Snowflake Connector for Python has sensitive data in logs
Issue Snowflake recently learned about and remediated a set of vulnerabilities in the Snowflake Connector for Python. Under specific conditions, certain users credentials (or portions of those credentials) were logged locally by the Connector to the users own systems. The credentials were not logged by Snowflake.
These vulnerabilities affect versions up to and including 3.12.2. Snowflake fixed the issue in version 3.12.3.
Vulnerability Details 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.
Solution Snowflake released version 3.12.3 of the Snowflake Connector for Python, which fixes these issues. We recommend users upgrade to version 3.12.3 and review their logs for any potentially sensitive information that may have been captured.
Additional Information If you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our Vulnerability Disclosure Policy.
Other sources
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.
— MITRE
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-49750?
CVE-2024-49750 is classified as a moderate severity vulnerability due to credential logging under specific conditions.
How do I fix CVE-2024-49750?
To remediate CVE-2024-49750, users should upgrade to the Snowflake Connector for Python version 3.12.3 or higher.
What software is affected by CVE-2024-49750?
CVE-2024-49750 affects all versions of the Snowflake Connector for Python prior to version 3.12.3.
What type of vulnerability is CVE-2024-49750?
CVE-2024-49750 is a vulnerability related to improper logging of user credentials in the Snowflake Connector for Python.
Who should be concerned about CVE-2024-49750?
Users of the Snowflake Connector for Python prior to version 3.12.3 should be concerned about CVE-2024-49750 due to potential credential exposure.