Time-of-check Time-of-use (TOCTOU) Race Condition Affecting snowflake-sdk package, versions >=1.10.0 <2.0.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SNOWFLAKESDK-9901392
  • published29 Apr 2025
  • disclosed28 Apr 2025
  • creditUnknown

Introduced: 28 Apr 2025

NewCVE-2025-46328  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade snowflake-sdk to version 2.0.4 or higher.

Overview

snowflake-sdk is a Node.js driver for Snowflake

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition when using the Easy Logging feature. A user with access to the config file can control it and expose log contents by directing the output to a readable location.

Note: Only applications running on Linux and macOS are vulnerable.

References

CVSS Base Scores

version 4.0
version 3.1