CVE ID
- CVE-2025-24791 - File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory on Linux.
CWE ID
- CWE-281 (Improper Preservation of Permissions)
CPEs
- cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:node.js:*:* (versions >= 1.12.0, < 2.0.2)
Affected versions
- 1.12.0 through 2.0.1 (Linux)
Patched versions:
- 2.0.2
Description
- snowflake-connector-nodejs is a NodeJS driver for Snowflake. Snowflake discovered and remediated a vulnerability in the Snowflake NodeJS Driver. File permissions checks of the temporary credential cache could be bypassed by an attacker with write access to the local cache directory. This vulnerability affects versions 1.12.0 through 2.0.1 on Linux. Snowflake fixed the issue in version 2.0.2.
Resolution
- Upgrade to Snowflake Node.js Driver version 2.0.2 or later.