CVE-2025-46328 Details
Description
snowflake-connector-nodejs is a NodeJS driver for Snowflake. Versions starting from 1.10.0 to before 2.0.4, are vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition. When using the Easy Logging feature on Linux and macOS the Driver reads logging configuration from a user-provided file. On Linux and macOS the Driver verifies that the configuration file can be written to only by its owner. That check was vulnerable to a TOCTOU race condition and failed to verify that the file owner matches the user running the Driver. This could allow a local attacker with write access to the configuration file or the directory containing it to overwrite the configuration and gain control over logging level and output location. This issue has been patched in version 2.0.4.
A Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability has been identified in the Snowflake Connector for Node.js, specifically in versions 1.10.0 prior to 2.0.4. This vulnerability arises when the Easy Logging feature is used on Linux and macOS. The connector reads logging configuration from a user-specified file and checks that the file can only be written by its owner. However, this verification is flawed, allowing a local attacker with write access to the configuration file or its containing directory to manipulate the logging settings. The attacker could potentially change the logging level and output location, thereby gaining control over how logging is handled. The issue has been addressed in version 2.0.4 of the connector.
Upgrade to version 2.0.4 of the Snowflake Connector for Node.js, which addresses this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| snowflake snowflake connector | >= 1.10.0, < 2.0.4 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 9, 2025 | Initial Analysis | [email protected] |
| Apr 28, 2025 | New CVE Received | [email protected] |