diff --git a/java-monitoring/samples/install-without-bom/pom.xml b/java-monitoring/samples/install-without-bom/pom.xml
index 1f0a70dd903f..c3d65e8cb740 100644
--- a/java-monitoring/samples/install-without-bom/pom.xml
+++ b/java-monitoring/samples/install-without-bom/pom.xml
@@ -41,7 +41,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.3
+ 3.21.4
diff --git a/java-monitoring/samples/snapshot/pom.xml b/java-monitoring/samples/snapshot/pom.xml
index 41b89a084d28..72681c9a8411 100644
--- a/java-monitoring/samples/snapshot/pom.xml
+++ b/java-monitoring/samples/snapshot/pom.xml
@@ -39,7 +39,7 @@
com.google.protobuf
protobuf-java-util
- 3.21.3
+ 3.21.4
junit