Skip to content

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

3.5 KB
Raw Blame
{:paths
 ["src" "resources"]

 :deps
 {net.snowflake/snowflake-jdbc-thin {:mvn/version "4.3.4"
                                     :exclusions  [io.grpc/grpc-netty-shaded
                                                   ;; This will already get excluded automatically by the build tools
                                                   ;; since it's a top-level dep in `/deps.edn` but adding the
                                                   ;; exclusion here will (hopefully?) prevent code scanning alerts
                                                   ;; from complaining about it as well.
                                                   io.netty/netty-codec-http
                                                   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
                                                   ;; declared directly by snowflake-jdbc-thin since 4.3.x, but only
                                                   ;; its Azure stage client uses it, with the transport excluded above.
                                                   io.projectreactor.netty/reactor-netty-core
                                                   ;; pinned in and resolved from /deps.edn
                                                   com.fasterxml.jackson.core/jackson-core
                                                   com.fasterxml.jackson.core/jackson-databind
                                                   com.google.guava/guava
                                                   io.opentelemetry/opentelemetry-api
                                                   org.bouncycastle/bcpkix-jdk18on
                                                   org.bouncycastle/bcprov-jdk18on
                                                   ;; resolved from /deps.edn transitively via bcpkix-jdk18on
                                                   org.bouncycastle/bcutil-jdk18on
                                                   org.jsoup/jsoup
                                                   org.ow2.asm/asm]}
  ;; drop when snowflake update driver to the one without the vulnerabilities
  io.grpc/grpc-netty-shaded         {:mvn/version "1.77.0"
                                     :exclusions  [com.google.guava/guava]}
  ;; pinned: snowflake-jdbc-thin 4.0.2 pulls zstd-jni 1.5.6-5, which has out-of-bounds
  ;; read vulns in ZstdDictCompress/ZstdDictDecompress (CVE-2026-87795 et al.), fixed in 1.5.7-14
  com.github.luben/zstd-jni         {:mvn/version "1.5.7-16"}
  ;; pinned: azure-core 1.57.0 (transitive via snowflake-jdbc-thin) pulls reactor-core 3.7.11
  io.projectreactor/reactor-core          {:mvn/version "3.8.7"}
  ;; pinned: AWS SDK (transitive via snowflake-jdbc-thin) pulls netty 4.1.126.Final
  ;; (SNYK-JAVA-IONETTY-16438930, SNYK-JAVA-IONETTY-16438322). Pin the full family to avoid mixed-version classpath.
  io.netty/netty-codec                    {:mvn/version "4.1.137.Final"}
  io.netty/netty-handler                  {:mvn/version "4.1.137.Final"}
  io.netty/netty-transport-classes-epoll  {:mvn/version "4.1.137.Final"}}}