CVE-2025-24788: Snowflake.Data Snowflake.Data Has Weak Temporary Files Vulnerability
MODERATECVE-2025-24788 is a MODERATE (CVSS 5.0) snowflake.data has weak temporary files vulnerability (CWE-276: Incorrect Default Permissions) affecting Snowflake.Data libraries in the NuGet ecosystem. The issue involves snowflake.data has weak temporary files permissions. Remediation is available by upgrading affected packages to version 4.3.0.
CVE-2025-24788 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-24788
To remediate this vulnerability, upgrade all affected Snowflake.Data dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade Snowflake.Data to 4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for Snowflake.Data
How to Check if You Are Affected
To determine whether your application is affected by CVE-2025-24788, inspect your project dependencies for Snowflake.Data:
inspect dependencies for Snowflake.Data
Analyze the terminal output to locate any version of Snowflake.Data in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-276: Incorrect Default Permissions, where during installation, installed file permissions are set to allow anyone to modify those files. In Snowflake.Data, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-24788 Affected Snowflake.Data Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Snowflake.Data
|
NuGet |
≥ 2.0.12
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2025-24788?
Which Snowflake.Data versions are affected?
What version fixes CVE-2025-24788?
Is Snowflake.Data affected?
What is the CVSS score of CVE-2025-24788?
What CWE is associated with CVE-2025-24788?
How can I check NuGet dependencies for CVE-2025-24788?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-2mqw-rq5m-8hc8",
"modified" : "2025-01-29T22:00:22Z",
"published" : "2025-01-29T20:50:55Z",
"aliases" : [ "CVE-2025-24788" ],
"summary" : "Snowflake.Data has weak temporary files permissions",
"details" : "### Issue\nSnowflake discovered and remediated a vulnerability in the Snowflake Connector for .NET in which files downloaded from stages are temporarily placed in a world-readable local directory, making them accessible to unauthorized users on the same machine.\n\nThis vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.\n\n### Vulnerability Details\nWhen downloading files from stages, the Snowflake Connector for .NET uses the OS temporary directory to save files before copying them to the destination directory. The files in the temporary directory, which are removed once the write to the destination directory concludes, have world-readable permissions on Linux and macOS. This could allow any user on the local machine to access them during their limited lifetime.\n\n### Solution\nSnowflake released version 4.3.0 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.3.0.\n\n### Additional Information\nIf you discover a security vulnerability in one of our products or websites, please report the issue to HackerOne. For more information, please see our [Vulnerability Disclosure Policy](https://hackerone.com/snowflake?type=team).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Snowflake.Data"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.12"
}, {
"fixed" : "4.3.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 4.2.0"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-connector-net/security/advisories/GHSA-2mqw-rq5m-8hc8"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-24788"
}, {
"type" : "WEB",
"url" : "https://github.com/snowflakedb/snowflake-connector-net/commit/89d91e8316ca213c5d184bcf469ed93977a5edf9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/snowflakedb/snowflake-connector-net"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-276" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-01-29T20:50:55Z",
"nvd_published_at" : "2025-01-29T21:15:21Z"
}
}