diff --git a/java-bigqueryconnection/samples/install-without-bom/pom.xml b/java-bigqueryconnection/samples/install-without-bom/pom.xml
index 25d300e138e7..9ac4b4cdcded 100644
--- a/java-bigqueryconnection/samples/install-without-bom/pom.xml
+++ b/java-bigqueryconnection/samples/install-without-bom/pom.xml
@@ -36,7 +36,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
junit
diff --git a/java-bigqueryconnection/samples/snapshot/pom.xml b/java-bigqueryconnection/samples/snapshot/pom.xml
index e74a11ccd60a..1f09663efbde 100644
--- a/java-bigqueryconnection/samples/snapshot/pom.xml
+++ b/java-bigqueryconnection/samples/snapshot/pom.xml
@@ -35,7 +35,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
junit
diff --git a/java-bigqueryconnection/samples/snippets/pom.xml b/java-bigqueryconnection/samples/snippets/pom.xml
index d45be7f6b631..c26d3c7642c0 100644
--- a/java-bigqueryconnection/samples/snippets/pom.xml
+++ b/java-bigqueryconnection/samples/snippets/pom.xml
@@ -46,7 +46,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
junit