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.
Remediation
References
https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-4g3j-c4wg-6j7x
https://community.snowflake.com/s/article/JDBC-Driver-Release-Notes
Related Vulnerabilities
CVE-2015-5345 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2018-8042 Vulnerability in maven package org.apache.ambari:ambari-agent
CVE-2020-5421 Vulnerability in maven package org.springframework:spring-web
CVE-2021-22096 Vulnerability in maven package org.springframework:spring-webflux
CVE-2021-36373 Vulnerability in maven package org.apache.ant:ant