CVE-2025-46328
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-46328 affects the snowflake-connector-nodejs, a NodeJS driver for Snowflake, in versions from 1.10.0 to before 2.0.4. The vulnerability was discovered and disclosed on April 28, 2025. It involves a Time-of-Check to Time-of-Use (TOCTOU) race condition in the Easy Logging feature when running on Linux and macOS systems (GitHub Advisory, NVD).

Technical details

The vulnerability occurs in the Easy Logging feature's file permission verification mechanism. When the Driver reads logging configuration from a user-provided file on Linux and macOS, it attempts to verify that the configuration file can be written to only by its owner. However, this check was vulnerable to a TOCTOU race condition and failed to verify that the file owner matches the user running the Driver. The vulnerability has been assigned a CVSS v3.1 base score of 3.3 (Low) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N (GitHub Advisory).

Impact

This vulnerability 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 (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.0.4 of the NodeJS Driver for Snowflake. Users are recommended to upgrade to this version to address the security issue (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59159CRITICAL9.6
  • JavaScriptJavaScript
  • sillytavern
NoYesOct 06, 2025
CVE-2025-11362HIGH8.7
  • JavaScriptJavaScript
  • pdfmake
NoYesOct 07, 2025
CVE-2025-53967HIGH8
  • JavaScriptJavaScript
  • figma-developer-mcp
NoYesOct 08, 2025
GHSA-mm7p-fcc7-pg87MEDIUM5.5
  • JavaScriptJavaScript
  • nodemailer
NoYesOct 07, 2025
CVE-2025-59829LOW2.3
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management