PT-2025-18122 · Snowflake · Snowflake-Connector-Nodejs

Snowflakedb

·

Published

2025-04-28

·

Updated

2025-05-09

·

CVE-2025-46328

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions snowflake-connector-nodejs versions 1.10.0 through 2.0.4
Description The issue concerns 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. The driver verifies that the configuration file can be written to only by its owner, but this check is vulnerable to a TOCTOU race condition and fails 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.
Recommendations For snowflake-connector-nodejs versions 1.10.0 through 2.0.4, update to version 2.0.4 or later to resolve the issue. As a temporary workaround, consider restricting write access to the configuration file and the directory containing it to prevent potential exploitation.

Exploit

Fix

Time Of Check To Time Of Use

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-46328
GHSA-WMJQ-JRM2-9WFR

Affected Products

Snowflake-Connector-Nodejs