Appsecure logo

CVE-2025-24790: Medium Vulnerability in Snowflake Snowflake JDBC

A medium severity vulnerability has been identified in the Snowflake JDBC Driver affecting versions 3.6.8 through 3.21.0. Organizations using these versions should prioritize patching to mitigate risks associated with temporary credential caching.

MEDIUMCVSS 4.4 · Published January 29, 2025

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

This vulnerability allows the Snowflake JDBC Driver to cache temporary credentials in a world-readable file on Linux systems when temporary credential caching is enabled. This poses a risk of unauthorized access to sensitive information stored in these credentials.

The severity of this vulnerability is classified as medium, with a CVSS score of 4.4. Organizations must understand the potential risks associated with this vulnerability, especially regarding credential exposure and unauthorized access.

As of now, there is no known public exploit associated with this vulnerability, and it is not listed in the Known Exploited Vulnerabilities (KEV) database. However, given the nature of the vulnerability, organizations should prioritize patching immediately.

The fixed version is 3.22.0, and organizations using affected versions 3.6.8 through 3.21.0 should upgrade to mitigate risks effectively.

The urgency for defenders is moderate. Organizations should address this issue in their priority patch cycle to protect against potential credential exposure.

Vulnerability Details

Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java programs to connect to Snowflake. On Linux systems, when temporary credential caching is enabled, the Snowflake JDBC Driver will cache temporary credentials locally in a world-readable file. This vulnerability affects versions 3.6.8 through 3.21.0. Snowflake fixed the issue in version 3.22.0.

The vulnerability is classified under CWE-276: Incorrect Default Permissions. The CVSS base score of 4.4 indicates a medium severity, with the following metrics: attack vector (LOCAL), attack complexity (LOW), privileges required (LOW), and user interaction (NONE).

Technical Analysis

The root cause of this vulnerability is related to improper management of permissions on cached credential files. When the Snowflake JDBC Driver stores temporary credentials in a world-readable file, it exposes sensitive information to any local user.

The attack vector is local, as an attacker would need access to the system where the JDBC Driver is running. The attack complexity is low, requiring minimal effort to exploit the vulnerability once access to the system is obtained.

No user interaction is required to exploit this vulnerability, and it can lead to low confidentiality and integrity impacts, with no availability impact.

Risk & Impact Analysis

Risk to organizations includes potential unauthorized access to sensitive information due to the exposure of cached temporary credentials. This could lead to data breaches or further exploitation of the system.

The blast radius potential is significant, as the vulnerability could affect all users with access to the affected systems. Organizations must assess their risk exposure and prioritize remediation strategies.

Given the CVSS score, organizations should address this vulnerability in their priority patch cycle, particularly if they are utilizing versions 3.6.8 through 3.21.0 of the Snowflake JDBC Driver.

Exploitation Status

Signal

Status

Known Exploit

No

Public PoC

No

Actively Exploited

No

Ransomware Use

No

Affected Versions

The vulnerability affects the Snowflake JDBC Driver versions 3.6.8 through 3.21.0. Organizations must upgrade to version 3.22.0 or later to mitigate the risks associated with this vulnerability.

Mitigation & Remediation

Organizations should prioritize patching the Snowflake JDBC Driver to version 3.22.0 to remediate this vulnerability. In cases where immediate patching is not possible, organizations can implement workarounds such as reviewing and adjusting file permissions to prevent unauthorized access to cached credentials.

For further guidance on security testing, organizations may consider reviewing our penetration testing services.

Detection Guidance

To detect potential exploitation of this vulnerability, organizations should monitor for unusual file access patterns, especially related to cached credential files. Additionally, reviewing system logs for any unauthorized access attempts can provide insights into potential security incidents.

AppSecure Threat Intelligence Insight

This vulnerability represents a critical reminder of the importance of managing permissions on sensitive files. As organizations increasingly rely on services like Snowflake, understanding and addressing potential weaknesses in credential management is paramount.

Security teams should be vigilant in monitoring for similar vulnerabilities across their systems, ensuring comprehensive coverage of credential management practices. Insights gained from reviewing this vulnerability can inform future security assessments and methodologies.

For further reading on penetration testing methodologies, organizations may refer to our penetration testing methodology blog.

Additionally, organizations can enhance their security posture by exploring our vulnerability management program design resources.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.