Vulnerability · Published Apr 14, 2023 · Assigned by GitHub_M
CVE-2023-30535Snowflake JDBC vulnerable to command injection via SSO URL authentication
High 7.3
In plain English
A high-severity improper input validation in snowflake-jdbc from snowflakedb. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Snowflake JDBC provides a JDBC type 4 driver that supports core functionality, allowing Java program to connect to Snowflake. Users of the Snowflake JDBC driver were vulnerable to a command injection vulnerability. An attacker could set up a malicious, publicly accessible server which responds to the SSO URL with an attack payload. If the attacker then tricked a user into visiting the maliciously crafted connection URL, the user’s local machine would render the malicious payload, leading to a remote code execution. The vulnerability was patched on March 17, 2023 as part of Snowflake JDBC driver Version 3.13.29. All users should immediately upgrade the Snowflake JDBC driver to the latest version: 3.13.29.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | net.snowflake:snowflake-jdbc | 3.13.29 | GHSA-4g3j-c4wg-6j7x |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| snowflakedb | snowflake-jdbc | < 3.13.29 |
Weakness: CWE-20 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N