CVE-2025-46327 Details
Description
gosnowflake is the Snowflake Golang driver. Versions starting from 1.7.0 to before 1.13.3, 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 1.13.3.
A Time-of-Check to Time-of-Use (TOCTOU) race condition vulnerability has been identified in the gosnowflake Snowflake Golang driver, affecting versions 1.7.0 prior to 1.13.3. The vulnerability arises in the Easy Logging feature on Linux and macOS, where the driver reads logging configuration from a user-specified file. The driver attempts to verify that the configuration file is writable only by its owner, but this check is flawed. It creates a TOCTOU race condition by not properly validating that the file owner aligns with the user executing the driver. As a result, a local attacker with write access to the configuration file or its containing directory could manipulate the configuration, potentially gaining control over the logging level and output location.
Users are advised to upgrade to gosnowflake version 1.13.3, 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 gosnowflake | >= 1.7.0, < 1.13.3 |
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] |