Skip to main content

CVE-2025-24788 — Vulnerability in Snowflake.Data — CVE Details

MEDIUM

Snowflake.Data has weak temporary files permissions

Published January 29, 2025Updated January 29, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.23%). Schedule for your next planned update.

Does your project use an affected Snowflake.Data version?

Paste your packages.lock.json to check it for CVE-2025-24788 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my packages.lock.json

Summary

Issue

Snowflake 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.

This vulnerability affects versions 2.0.12 through 4.2.0 on Linux and macOS. Snowflake fixed the issue in version 4.3.0.

Vulnerability Details

When 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.

Solution

Snowflake released version 4.3.0 of the Snowflake Connector for .NET, which fixes this issue. We recommend users upgrade to version 4.3.0.

Additional Information

If 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.

Advisory Timeline

  • First published January 29, 2025 (666 days ago).
  • Last revised January 29, 2025 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

NuGet
Update Snowflake.Data to 4.3.0 or later
dotnet add package Snowflake.Data --version 4.3.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: NuGet (1).

PackageFixed In
Snowflake.Data NuGet · Affected: 2.0.12, 2.0.13, 2.0.14, 2.0.15 (+17 more)4.3.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-276
    Incorrect Default PermissionsMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.0 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Frequently Asked Questions

What is CVE-2025-24788?
Snowflake.Data has weak temporary files permissions. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.0/10).
How do I check if my project is affected by CVE-2025-24788?
CVE-2025-24788 affects Snowflake.Data. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24788 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
5.0

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.23%
EPSS percentile: 7.9

This is a below-median EPSS score — only 7.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-2mqw-rq5m-8hc8

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my packages.lock.json