Vulnerability GHSA-7hpq-3g6w-pvhf

High Risk
HIGH RISK
CVSS Score: 7.8
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
1 year ago
January 29, 2025 at 06:41 PM UTC
Snowflake JDBC allows an untrusted search path on Windows
3.11.0 - 3.11.1 and 3.15.0 - 3.21.1
3.11.0 - 3.11.1 and 3.15.0 - 3.21.1

Summary

Snowflake JDBC allows an untrusted search path on Windows

Details

Issue

Snowflake discovered and remediated a vulnerability in the Snowflake JDBC Driver. When the EXTERNALBROWSER authentication method is used on Windows, an attacker with write access to a directory in the %PATH% can escalate their privileges to the user that runs the vulnerable JDBC Driver version.

This vulnerability affects versions 3.2.3 through 3.21.0 on Windows. Snowflake fixed the issue in version 3.22.0.

Vulnerability Details

When the EXTERNALBROWSER authentication method is selected, the Snowflake JDBC Driver on non-macOS operating systems tries to open the SSO URL using xdg-open. Because xdg-open is a Linux program that doesn’t exist in a default Windows installation, a sufficiently privileged attacker could place a malicious executable in one of the directories on the %PATH% and achieve local privilege escalation to the user running the JDBC Driver.

Solution

Snowflake released version 3.22.0 of the Snowflake JDBC Driver, which fixes this issue. We recommend users upgrade to version 3.22.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.

Timeline

Published
1 year ago
January 29, 2025 at 06:41 PM UTC
Fixed (3.22.0)
Unknown
Unknown
Last Modified
26 days ago
September 10, 2026 at 03:50 AM UTC