diff --git a/java-secretmanager/samples/install-without-bom/pom.xml b/java-secretmanager/samples/install-without-bom/pom.xml
index bba53bc59fd0..f177a3f28247 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.4
+ 3.21.5
junit
diff --git a/java-secretmanager/samples/snapshot/pom.xml b/java-secretmanager/samples/snapshot/pom.xml
index a531ffadda32..89ad8c3811e6 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.4
+ 3.21.5
diff --git a/java-secretmanager/samples/snippets/pom.xml b/java-secretmanager/samples/snippets/pom.xml
index df04a76d2a00..611e884191cb 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.4
+ 3.21.5
junit