Skip to content

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

Bump Bouncy Castle to 1.84 (#72712)

Edward Paget6f03c07e98a0
diff --git a/deps.edn b/deps.edn
index d7e3de3e88e..04af6314283 100644
--- a/deps.edn
+++ b/deps.edn
@@ -140,8 +140,8 @@
org.slf4j/jcl-over-slf4j]}
org.apache.tika/tika-core {:mvn/version "3.2.3"}
org.apache.xmlgraphics/batik-all {:mvn/version "1.19"} ; SVG -> image
- org.bouncycastle/bcpkix-jdk18on {:mvn/version "1.82"} ; Bouncy Castle crypto library -- explicit version of BC specified to resolve illegal reflective access errors
- org.bouncycastle/bcprov-jdk18on {:mvn/version "1.82"}
+ org.bouncycastle/bcpkix-jdk18on {:mvn/version "1.84"} ; Bouncy Castle crypto library -- explicit version of BC specified to resolve illegal reflective access errors
+ org.bouncycastle/bcprov-jdk18on {:mvn/version "1.84"}
org.clj-commons/claypoole {:mvn/version "1.2.2"} ; Threadpool tools for Clojure
org.clj-commons/dirigiste {:mvn/version "1.0.4"} ; Instrumented object pooling
org.clj-commons/hickory {:mvn/version "0.7.7" ; Parse HTML into Clojure data structures
diff --git a/modules/drivers/databricks/deps.edn b/modules/drivers/databricks/deps.edn
index bf318274a29..1aba2d34c6c 100644
--- a/modules/drivers/databricks/deps.edn
+++ b/modules/drivers/databricks/deps.edn
@@ -7,6 +7,9 @@
;; lang3 is a dep in top-level deps.edn, so not actually used anyway; exclusion
;; here fixes security warnings about version used in JDBC driver
:exclusions [org.apache.commons/commons-lang3]}
+ ;; pin Bouncy Castle explicitly so the bundled driver JAR uses the patched version
+ org.bouncycastle/bcpkix-jdk18on {:mvn/version "1.84"}
+ org.bouncycastle/bcprov-jdk18on {:mvn/version "1.84"}
;; pinned: databricks-jdbc-thin pulls older transitive versions
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.21.2"}
org.apache.httpcomponents.core5/httpcore5-h2 {:mvn/version "5.3.5"}}}
diff --git a/modules/drivers/snowflake/deps.edn b/modules/drivers/snowflake/deps.edn
index fc4774ffcb7..43a657d98c4 100644
--- a/modules/drivers/snowflake/deps.edn
+++ b/modules/drivers/snowflake/deps.edn
@@ -12,5 +12,8 @@
io.netty/netty-codec-http2]}
;; 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
+ org.bouncycastle/bcpkix-jdk18on {:mvn/version "1.84"}
+ org.bouncycastle/bcprov-jdk18on {:mvn/version "1.84"}
;; pinned: snowflake-jdbc-thin 4.1.0 pulls jackson-core 2.18.4.1 which has resource exhaustion vulns
com.fasterxml.jackson.core/jackson-core {:mvn/version "2.21.2"}}}