diff --git a/dev/deps/spark-deps-hadoop-2-hive-2.3 b/dev/deps/spark-deps-hadoop-2-hive-2.3
index faf86376e9488..88a77c74ec4fa 100644
--- a/dev/deps/spark-deps-hadoop-2-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-2-hive-2.3
@@ -217,7 +217,7 @@ netty-transport-native-unix-common/4.1.80.Final//netty-transport-native-unix-com
netty-transport/4.1.80.Final//netty-transport-4.1.80.Final.jar
objenesis/3.2//objenesis-3.2.jar
okhttp/3.12.12//okhttp-3.12.12.jar
-okio/1.14.0//okio-1.14.0.jar
+okio/1.15.0//okio-1.15.0.jar
opencsv/2.3//opencsv-2.3.jar
orc-core/1.8.0/shaded-protobuf/orc-core-1.8.0-shaded-protobuf.jar
orc-mapreduce/1.8.0/shaded-protobuf/orc-mapreduce-1.8.0-shaded-protobuf.jar
diff --git a/dev/deps/spark-deps-hadoop-3-hive-2.3 b/dev/deps/spark-deps-hadoop-3-hive-2.3
index 7a73deb019ac4..0201df37b87df 100644
--- a/dev/deps/spark-deps-hadoop-3-hive-2.3
+++ b/dev/deps/spark-deps-hadoop-3-hive-2.3
@@ -201,7 +201,7 @@ netty-transport-native-unix-common/4.1.80.Final//netty-transport-native-unix-com
netty-transport/4.1.80.Final//netty-transport-4.1.80.Final.jar
objenesis/3.2//objenesis-3.2.jar
okhttp/3.12.12//okhttp-3.12.12.jar
-okio/1.14.0//okio-1.14.0.jar
+okio/1.15.0//okio-1.15.0.jar
opencsv/2.3//opencsv-2.3.jar
opentracing-api/0.33.0//opentracing-api-0.33.0.jar
opentracing-noop/0.33.0//opentracing-noop-0.33.0.jar
diff --git a/pom.xml b/pom.xml
index 0350ff793d2dd..7bb803228fe17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -195,7 +195,8 @@
4.9.3
1.1
- 3.141.59
+ 4.2.2
+ 3.62.0
2.62.0
1.8
1.1.0
@@ -408,7 +409,7 @@
org.scalatestplus
- selenium-3-141_${scala.binary.version}
+ selenium-4-2_${scala.binary.version}
test
@@ -693,9 +694,13 @@
com.google.guava
guava
+
+ com.google.auto.service
+ *
+
io.netty
- netty
+ *
net.bytebuddy
@@ -706,7 +711,7 @@
org.seleniumhq.selenium
htmlunit-driver
- ${htmlunit.version}
+ ${htmlunit-driver.version}
test
@@ -1160,11 +1165,10 @@
3.2.13.0
test
-
org.scalatestplus
- selenium-3-141_${scala.binary.version}
- 3.2.10.0
+ selenium-4-2_${scala.binary.version}
+ 3.2.13.0
test