diff --git a/java-secretmanager/samples/install-without-bom/pom.xml b/java-secretmanager/samples/install-without-bom/pom.xml
index 24d2188aebd1..e0414e4b5aad 100644
--- a/java-secretmanager/samples/install-without-bom/pom.xml
+++ b/java-secretmanager/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-secretmanager/samples/snapshot/pom.xml b/java-secretmanager/samples/snapshot/pom.xml
index ac0e5d8912c9..69812516793a 100644
--- a/java-secretmanager/samples/snapshot/pom.xml
+++ b/java-secretmanager/samples/snapshot/pom.xml
@@ -34,7 +34,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
diff --git a/java-secretmanager/samples/snippets/pom.xml b/java-secretmanager/samples/snippets/pom.xml
index 820feec9fde4..3a451174fc93 100644
--- a/java-secretmanager/samples/snippets/pom.xml
+++ b/java-secretmanager/samples/snippets/pom.xml
@@ -46,7 +46,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.1
+ 3.21.2
junit