CVE ID
- CVE-2025-46329 - When logging is set to DEBUG, the C/C++ Connector logs the client-side encryption master key during GET/PUT commands.
CWE ID
- CWE-532 (Insertion of Sensitive Information into Log File)
CPEs
- cpe:2.3:a:snowflake:connector_for_c/c++:*:*:*:*:*:*:*:* (versions >= 0.5.0, < 2.2.0)
Affected versions
- 0.5.0 to before 2.2.0
Patched versions:
- 2.2.0
Description
- libsnowflakeclient is the Snowflake Connector for C/C++. Versions starting from 0.5.0 to before 2.2.0, are vulnerable to local logging of sensitive information. When the logging level was set to DEBUG, the Connector would log locally the client-side encryption master key of the target stage during the execution of GET/PUT commands. This key by itself does not grant access to any sensitive data without additional access authorizations, and is not logged server-side by Snowflake. This issue has been patched in version 2.2.0.
Resolution
- Upgrade to libsnowflakeclient version 2.2.0 or later.