Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

deps: exclude azure-core-http-netty from snowflake driver (#73824)

Ngoc Khuata131324be823
diff --git a/modules/drivers/snowflake/deps.edn b/modules/drivers/snowflake/deps.edn
index 43a657d98c4..8068ad433be 100644
--- a/modules/drivers/snowflake/deps.edn
+++ b/modules/drivers/snowflake/deps.edn
@@ -9,7 +9,12 @@
;; exclusion here will (hopefully?) prevent code scanning alerts
;; from complaining about it as well.
io.netty/netty-codec-http
- io.netty/netty-codec-http2]}
+ io.netty/netty-codec-http2
+ ;; Azure SDK's Netty HTTP transport is only used for PUT/GET to
+ ;; Azure-backed Snowflake stages, which Metabase never does
+ ;; (read-only SQL driver). Excluding the Netty transport removes
+ ;; the entire reactor-netty + transitive Netty 4.1.x chain.
+ com.azure/azure-core-http-netty]}
;; drop when snowflake update driver to the one without the vulnerabilities
io.grpc/grpc-netty-shaded {:mvn/version "1.77.0"}
;; pin Bouncy Castle explicitly so the bundled driver JAR uses the patched version