Vulnerability · Published Jan 29, 2025 · Assigned by GitHub_M

CVE-2025-24795The Snowflake Connector for Python uses insecure cache files permissions

Medium 4.4

In plain English

A medium-severity incorrect default permissions in snowflake-connector-python from snowflakedb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.4Medium
Exploit odds (30 days)0.1%top 96.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

The Snowflake Connector for Python provides an interface for developing Python applications that can connect to Snowflake and perform all standard operations. Snowflake discovered and remediated a vulnerability in the Snowflake Connector for Python. On Linux systems, when temporary credential caching is enabled, the Snowflake Connector for Python will cache temporary credentials locally in a world-readable file. This vulnerability affects versions 2.3.7 through 3.13.0. Snowflake fixed the issue in version 3.13.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIsnowflake-connector-python3.13.1GHSA-r2x6-cjg7-8r43
PyPIsnowflake-connector-python3.13.1PYSEC-2025-28

Affected products (as reported)

VendorProductVersions
snowflakedb snowflake-connector-python >= 2.3.7, < 3.13.1

Weakness: CWE-276 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

References