{"id":"CVE-2024-49750","published":"2024-10-24T22:03:06Z","modified":"2024-10-25T17:18:42Z","title":"Snowflake Connector for Python has sensitive data in logs","vendor":"snowflakedb","product":"snowflake-connector-python","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00299,"percentile":0.1498,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://github.com/snowflakedb/snowflake-connector-python/security/advisories/GHSA-5vvg-pvhp-hv2m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/snowflakedb/snowflake-connector-python/commit/dbc9284a3c0382c131b971b35e8d6ab93c46f37a","tags":["x_refsource_MISC"]}],"priority":{"score":6.8,"factors":[{"name":"EPSS percentile","points":3.0},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"snowflakedb","affectedVersions":[{"vendor":"snowflakedb","product":"snowflake-connector-python","versions":["< 3.12.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-25T17:18:32.940374Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"snowflake-connector-python","vulnerableRanges":["<3.12.3"],"patched":["3.12.3"],"from":["GHSA-5vvg-pvhp-hv2m","PYSEC-2024-191"],"provenance":"source"}],"summary":{"text":"The Snowflake Connector for Python (snowflake-connector-python) can write sensitive data into its logs, including Duo passcodes passed via the passcode parameter and Azure SAS tokens, and its SecretDetector log formatter fails to fully redact some JWT tokens and private key formats. An attacker with local access to the host, with low privileges, can read these secrets from the log output, but only when the application is configured to log at the DEBUG level.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:18:26Z"},"euvd":{"id":"EUVD-2024-0163","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-snowflakedb-snowflake-connector-python-cve-2024-49750","children":[{"from":"CVE-2024-49750","to":"CVE-2025-24794","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:snowflake-connector-python","fromFixed":"3.12.3","toFixed":"3.13.1","daysApart":97},{"kind":"same-code","provenance":"machine","files":["src/snowflake/connector/auth/_auth.py"],"commits":["https://github.com/snowflakedb/snowflake-connector-python/commit/dbc9284a3c0382c131b971b35e8d6ab93c46f37a","https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af"],"basis":"rarely changed file"}]},{"from":"CVE-2024-49750","to":"CVE-2025-24795","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:snowflake-connector-python","fromFixed":"3.12.3","toFixed":"3.13.1","daysApart":97},{"kind":"same-code","provenance":"machine","files":["src/snowflake/connector/auth/_auth.py"],"commits":["https://github.com/snowflakedb/snowflake-connector-python/commit/dbc9284a3c0382c131b971b35e8d6ab93c46f37a","https://github.com/snowflakedb/snowflake-connector-python/commit/3769b43822357c3874c40f5e74068458c2dc79af"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-42965","published":"2022-11-09","fixed":"2.8.2","kev":false},{"cve":"CVE-2023-34233","published":"2023-06-08","fixed":"3.0.2","kev":false,"link":{"from":"CVE-2023-34233","to":"CVE-2024-49750","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:snowflake-connector-python","fromFixed":"3.0.2","toFixed":"3.12.3","daysApart":504}]}},{"cve":"CVE-2024-49750","published":"2024-10-24","fixed":"3.12.3","kev":false},{"cve":"CVE-2025-24793","published":"2025-01-29","fixed":"3.13.1","kev":false,"link":{"from":"CVE-2024-49750","to":"CVE-2025-24793","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:snowflake-connector-python","fromFixed":"3.12.3","toFixed":"3.13.1","daysApart":97}]}},{"cve":"CVE-2025-24794","published":"2025-01-29","fixed":"3.13.1","kev":false},{"cve":"CVE-2025-24795","published":"2025-01-29","fixed":"3.13.1","kev":false}],"package":"PyPI:snowflake-connector-python"}}