CVE-2025-24791
snowflake-connector-nodejs has incorrect validation of temporary credential cache file permissions
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.
INFO
Published Date :
Jan. 29, 2025, 5:15 p.m.
Last Modified :
Aug. 20, 2025, 6:43 p.m.
Remotely Exploit :
No
Source :
[email protected]
Affected Products
                                            The following products are affected by CVE-2025-24791
                                            vulnerability.
                                            Even if cvefeed.io is aware of the exact versions of the
                                            products
                                            that
                                            are
                                            affected, the information is not represented in the table below.
                                        
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Update the Snowflake NodeJS Driver to version 2.0.2.
- Ensure the cache directory has correct file permissions.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-24791.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-24791 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-24791
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-24791 vulnerability anywhere in the article.
		
 
									- 
                                                            
                                                                Daily CyberSecurity 
Critical Vulnerabilities Threaten IBM App Connect Enterprise
IBM has issued a critical security bulletin warning that multiple versions of its App Connect Enterprise (ACE) software are vulnerable to remote code execution (RCE) due to unsafe defaults in third-pa ... Read more
                The following table lists the changes that have been made to the
                CVE-2025-24791 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Aug. 20, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration AND OR *cpe:2.3:a:snowflake:snowflake_connector:*:*:*:*:*:node.js:*:* versions from (including) 1.12.0 up to (excluding) 2.0.2 OR cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f Types: Patch Added Reference Type GitHub, Inc.: https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99 Types: Vendor Advisory 
- 
                            New CVE Received by [email protected]Jan. 29, 2025 Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N Added CWE CWE-281 Added Reference https://github.com/snowflakedb/snowflake-connector-nodejs/commit/89731b3a4d61a75b721d13d4e47a7a3712ffa45f Added Reference https://github.com/snowflakedb/snowflake-connector-nodejs/security/advisories/GHSA-xfhv-wqj6-rx99 
 
                         
                         
                         
                                             
                                            